Cron job issues
Posted: Sun Oct 12, 2008 7:28 pm
Hi guys, in the next post ill post up the php code, but for now ill give you the description of the problem.
Ok what we are trying to do, is write out a cron job that executes start.sh immediately and then closes it 1 hour and 25 minutes later.
the code writes up 2 con files that executable reads for the settings, now we run it using a URL like http://test/index.php?servername=blah&port=blah
now when we run it as it stands, it writes those two con files with no issues, and if i run start.sh manually it works with the correct settings, its the cron part of the script that seems to be in error as it doesnt even seem to be creating a cron job to run.
script coding in the next post:
Ok what we are trying to do, is write out a cron job that executes start.sh immediately and then closes it 1 hour and 25 minutes later.
the code writes up 2 con files that executable reads for the settings, now we run it using a URL like http://test/index.php?servername=blah&port=blah
now when we run it as it stands, it writes those two con files with no issues, and if i run start.sh manually it works with the correct settings, its the cron part of the script that seems to be in error as it doesnt even seem to be creating a cron job to run.
script coding in the next post: