At job now kicking off
Posted on 2004-09-30
I am trying to do an at job. And it never gets kicked off. I have tried it two different ways and it doesn't work either way
at now +1min < /var/www/html/test.sh
at -f /var/www/html/test.sh now
They just sit in the at cue and never run.
Basically what I am trying to do is. I run a program called a.php if in that program something happens I call a script call killcue.sh. This shell script will kill the process where the name is a.php, sends me an email to let me know the a.sh was killed, and then killcue.sh should start a.php agian.
Killcue.sh is killing a.php and sending me an email however it is not restarting the program, so I was going to try an at job to get it going.
a.php is an infinate loop that looks for incoming data from a database