Strange one that it works once for you and then doesnt the 2nd run....
it works on mine and many others..
the 24*3 reference I see is on line 106 in the original
its hours times numofdays.
line 122 is the end of reading through the config file (oztivo_au.cfg )..maybe be an error could be passed to the end of the do loop..
two things to try
1. make sure you have unix format script file
telnet and on the command line try
2. next thing is on line 105Code:dos2unix /var/bin/oztivo_au.sh
put an ; at the end of the line .. correct syntax suggests its missing but stillCode:numofdays=$val
works.
Bookmarks