Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by NKnina

  1. NKnina

    To run shell script in cronjob

    Thanks SOL, Mike.. Actually i already have a shell script- mailfile containing 1 line. ./send usr filels but my main problem now is that all these scripts get the same results: Execute permission denied. (I've chmod ugo+x for mailrpt, send, usr and filels) I created the crontab file using...
  2. NKnina

    How to call a function in javascript using UNIX shell script?

    This is the function that i want to activate using shell script (this is a portion of the .js file..there are other functions..not related). This code is in select.js file ... ...... function generateReport(typeReport){ Months = new...
  3. NKnina

    How to call a function in javascript using UNIX shell script?

    Strange? Well, that's why i need ur help to do this... Actually, i'm doing a cronjob task that will have certain reports to be generated and sent to a list of email recipients. Usually, the reports are generated from the web browser,a form with options to select and a button(onClick will...
  4. NKnina

    How to call a function in javascript using UNIX shell script?

    I have this generateReport() function in report.js (javascript file). I need to create a shell script that calls and activate this function- 'generateReport()' in order to produce the report. Can anyone pls show the way to write this shell script? Thanks for your help.. Regards, NINA
  5. NKnina

    How to activate a function in javascript using counter timer?

    Hi, I have this generateReport() function and need it to be activated everyday at 8AM. Formerly, the function is called when one presses the 'generate report' button in a form, but now I would like to have the report auto-generated. I believe it needs the use of 24hrs counter timer but not sure...
  6. NKnina

    Can we set a script to be executed everyday at 9am?

    Thanks guys for the tips. So, first thing i should do is to create a crontab file containing * 9 * * * /path/script.sh and save it in the same folder as the script to be executed. Pls correct me if i'm wrong. I'll also check the details of crontab in the man page. Well, thanks again...
  7. NKnina

    Can we set a script to be executed everyday at 9am?

    Hi, I need to create a timer to generate report on daily basis. I want the shell script to be executed at 9am everyday. How do we create a timer for this, where a countdown is set for 24 hrs and when it's time, the shell script will be executed. After the execution, timer will be restarted and...

Part and Inventory Search

Back
Top