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
#.......................................
i always found it useful to set the schedule _before_ executing any
commands,
as well as taking Bill's advice to make sure the variables were all
set.
b.t.w. the simplest test to get started is:
"run me in two minutes"
"do something to prove I was executed".
After getting this working, you can reliably change the interval to
"tomorrow",
followed by your real commands.
Good Luck,
Yup variables are set, and I do agree with Bill that cron should have
been used, and thats what I am pushing the developers to release to
production. Currently, my short-term fix is that I've put the job into
cron for alternate days.
I myself am not a huge fan of the "at daemon". Thanks anyways for your
help and suggestions, will keep in mind if I do happen to use the "at
daemon" in the future.