at-command



I've got a script which has a set of commands and at the end invokes
itself using the "at" command for a run next day at the same time and
then carrying on with the self scheduling. However I've seen that
when the script is run manually it does schedule itself for the next
day, but next day it fails to schedule for the day after. Is there a
reason for that?

btw .. the script is in Korn shell.

what am I missing in trying to get this script to run and schedule
itself for work next day???

format of the script file ( test_script.ksh) :

#..............................................
#!/bin/ksh

command 1
command 2
command 3
command 4
....
....

at -f $SCRIPT_DIR/test_script.ksh 08:00 tomorrow > /tmp/test.log
#.......................................

.



Relevant Pages