Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03:50 PM   #1
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 636

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, 04:08 PM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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 04: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 08:40 AM
Error - Why cron job running every 1 min ravibhure Linux - Newbie 7 06-11-2009 07:28 AM
how to set a service to start any time the system reboot phongly2000 Linux - Newbie 3 01-16-2009 12:48 PM
NTP cron job runs every 5 min instead of hour OlRoy Linux - Networking 17 02-28-2008 11:51 AM
Debian Ftp Server, Need set up in 30 Min. seashell11 Linux - Networking 6 08-25-2006 02:28 PM

All times are GMT -5. The time now is 09:48 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