[WBEL-users] Cron Job help
Epps, Aaron M.
Epps.Aaron at mayo.edu
Thu Apr 14 13:04:45 CDT 2005
I believe this cron entry would reboot your box on the 1st of every month at
4am
* 4 1 * * /sbin/reboot
1. Open a terminal
2. Type "su" and enter the super user's/root's password when prompted
3. Type "crontab -e"
4. Press "i" to enter INSERT mode
5. Type "* 4 1 * * * /sbin/reboot"
6. Press "Esc"
7. Press ":wq" and then hit Enter.
8. Ensure that the cron daemon is set to run by typing "chkconfig --list
crond" and pressing enter.
9. You're probably running at either runlevel 3 or 5, make sure you see
"3:on" and "5:on"
10. Let me know if you need any help.
http://www.taskghost.com/extended_cron_syntax.htm
<http://www.taskghost.com/extended_cron_syntax.htm>
-----Original Message-----
From: Mike Chapman [mailto:mchapman2 at carolina.rr.com]
Sent: Thursday, April 14, 2005 12:50 PM
To: whitebox-users at beau.org
Subject: [WBEL-users] Cron Job help
Hi-
Would someone be willing to assist me with setting up a Cron job that would
reboot my box on a monthly schedule? I have Googled for help and found
examples but I am perplexed with the syntax. I tried to use Webmin to do
this but could not ( each time I would try to run the job I was informed I
needed to run the job as a superuser...). Newbie instructions would be
greatly appreciated.
Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://beau.org/pipermail/whitebox-users/attachments/20050414/34df0fe4/attachment.htm
More information about the Whitebox-users
mailing list