Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-18-2015, 12:08 AM   #1
LQ Newbie
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Need help with a scheduled reboot cron job via Webmin


I am quite new with Linux. I have recently built a home Ubuntu server (14.04). I am wanting to schedule a daily reboot of the server at a specific time. I have Webmin installed so assuming it should be a bit easier to do this task via Webmin. My understanding is to do this via Webmin, I would create a new scheduled cron job, however I am having some difficulty determining what I enter for the cron job. I assume that I would execute the cron job as the a user with root privileges. In the Command box, would I simply enter


or would it be

0 */3 * * * /sbin/reboot

Also, do I need to enter anything in the Input to command box?

Thanks for any help on this


Old 06-18-2015, 05:35 PM   #2
LQ Addict
Registered: Jan 2011
Posts: 7,680
Blog Entries: 10

Rep: Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080
Every 3 hours? I think not!
but ok.
have a look at and enter
0 */3 * * *
there and hit the run button for what it will "do" and when.
Old 06-19-2015, 01:03 AM   #3
LQ Newbie
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
I wasn't sure what "0 */3 * * * /sbin/reboot" actually represented. I found that in a Google search. Someone else was trying to do the same thing. I only want the system to reboot once a day, say at 7am. I can see that I can control the reboot time via Webmin. I assume under "Hours" I would just select 7, although I am a bit confused how to set the time.

So back to my original question, is the only entry that I need to place into the Command box is "reboot"? Or is there more to it than that?


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron job scheduled to the server after logging in via ssh login doest not run surekag Linux - Newbie 4 02-12-2014 09:15 AM
Webmin - Scheduled Cron Job - Password! tfranklin Linux - Server 5 01-20-2010 08:08 PM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 09:16 AM
How can i erase emails via a cron job in Webmin? epamuk General 1 11-09-2007 08:39 AM
What does cron do if machine is down when job is scheduled? Utah Linux - Software 4 08-24-2005 08:23 PM

All times are GMT -5. The time now is 06:48 AM.

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