Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Cron may not be able to find the reboot command, because cron's PATH environment isn't the same as your login environment. In general, you should always fully qualify the path to an executable in cron (or scripts). Also, cron accepts a shorthand for "every n minutes" with the format "start-end/n". So your entry should read:
0-59/5 * * * * /sbin/reboot
You can also check /var/log/cron to see if any errors are logged. You may also want to update the "MAILTO=" in /etc/crontab, as your root user probably has many emails that you're not reading.
Last edited by macemoneta; 02-11-2006 at 01:19 PM.