|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
||||
reboot FreeBSD box with crontab
I have three FreeBSD box and have problem with all of thenm and I describe it in this topic
http://forums.freebsd.org/showthread.php?t=26976 So I have to ssh to my system before 26 hours and reboot them by command , so I want reboot my system every 24 housrs by crontab , how I can do this ? I want reboot system by crontab . |
|
||||
Sigh.
You can find out how to create cron jobs of all kinds, including jobs that issue a reboot(8) by using Google: http://lmgtfy.com/?q=cron+jobs+for+beginners ... then, follow up by using the fine man pages for cron(8) and related tools that you will find under each man page's SEE ALSO section. FreeBSD's implementation of cron may differ from what you will learn by reading guides about cron for other operating systems. But.... In your thread in the FreeBSD forum you say you are seeing kernel panics. If that is the case, please note: a panic is not a "freeze" or a "hang" ... it is a crash(8). Perhaps you should seek support from FreeBSD people for your actual problem, rather than asking for step by step "how to" instructions to circumvent it. Last edited by jggimi; 15th October 2011 at 02:55 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reboot freebsd periodically | semarmendemx | FreeBSD General | 3 | 27th October 2010 04:23 AM |
default crontab | fbroce | OpenBSD Installation and Upgrading | 13 | 13th September 2010 09:20 PM |
Crontab won't run script | Petrocelli08 | FreeBSD General | 4 | 7th March 2009 04:19 AM |
Why Does FreeBSD reboot if USB Drive Is Removed before unmount | bsdforlife | FreeBSD General | 10 | 2nd September 2008 06:18 AM |
Crontab not working | beandip | FreeBSD General | 6 | 6th August 2008 08:33 PM |