[WBEL-users] Cron Job help
Michael St. Laurent
mikes at hartwellcorp.com
Thu Apr 14 14:00:34 CDT 2005
Ermmm... shouldn't that be "0 4 1 * * /sbin/reboot"? Otherwise it's going
to try to reboot every minute for an hour...
--
Michael St. Laurent
Hartwell Corporation
-----Original Message-----
From: whitebox-users-bounces at beau.org
[mailto:whitebox-users-bounces at beau.org] On Behalf Of Epps, Aaron M.
Sent: Thursday, April 14, 2005 11:05 AM
To: mchapman2 at carolina.rr.com; whitebox-users at beau.org
Subject: RE: [WBEL-users] Cron Job help
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/6985a8c7/attachment-0001.htm
More information about the Whitebox-users
mailing list