Now that everything else works I want to use crond to run a script that will reboot the TCL box.
So I used crontab -e to edit a crontab entry that looks like this:
30 7 * * * root /home/tc/test
- Where test is a script that I made to copy some files, run the backup, and then reboot the box.
- I go back to the terminal window and type:
sudo /etc/init.d/services/crond start
I wait until the time in the crontab expires and nothing happened.
So, I did a crond stop and edited the crontab again to be:
35 7 * * * tc ./test
Restarted the crond service, waited for the time to pass again and nothing happened.
I have tried many combinations, but I am not getting anywhere. The documentation for this is very slim as it pertains to TCL but was able to track down where the service lived so I could start it, and where the crontabs are supposed to be stored for use:
BTW, the test script works just fine is I use the command line in the terminal window and type:
The script runs fine from the terminal but I can't seem to get it to run from crond
Can someone point me in the right direction? The linux man page on crond was not very helpful either.