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...
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...
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...
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
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.