scheduling an "at job" from a web page
Posted on 2003-03-31
I need to schedule an "at job" from a webpage.
The www user is added in the file at.allow
The following two lines in my perl script are supposed to do the trick
$mycmd = "at -f /home/scripts/jobs/uptime_rpt -t ".@store.@store.@store.@store;
I have printed out $mycmd and it looks okay to me.
When I checked the apache error log, I found a message
job 1049142180.a at Mon March 31 14.47.00 2003
i dont know what is wrong with this? Infact the values and everything matches what is entered by the web user.
However I am sure the job is not scheduled because when i use ps to list the processes I do not find the uptime_rpt script running.
Please let me know whats wrong if you know..Thanks a lot:)