Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This 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.


  Search this Thread
Old 07-19-2010, 02:50 PM   #1
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question Need to be able to set cron to reboot system every 5 min

I have a friend who needs a script to reboot a system every 5 min... not sure how to set cron to do this every 5 min. Any ideas?
Old 07-19-2010, 03:08 PM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Google is your friend
*/5 * * * * /sbin/reboot
I don't see why someone should need this, but whatever...

Last edited by repo; 07-19-2010 at 03:10 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set min 10 character default password pbhinder Linux - Newbie 3 07-08-2009 07:40 AM
Error - Why cron job running every 1 min ravibhure Linux - Newbie 7 06-11-2009 06:28 AM
how to set a service to start any time the system reboot phongly2000 Linux - Newbie 3 01-16-2009 11:48 AM
NTP cron job runs every 5 min instead of hour OlRoy Linux - Networking 17 02-28-2008 10:51 AM
Debian Ftp Server, Need set up in 30 Min. seashell11 Linux - Networking 6 08-25-2006 01:28 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration