DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th October 2011
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default 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 .
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
  #2   (View Single Post)  
Old 15th October 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick