Results 1 to 5 of 5
So at work I usually forget to shut down my computer at the end of the day 5:30 and they switch the breaker off at 6pm which cant be good ...
- 04-28-2010 #1Linux Newbie
- Join Date
- May 2009
- Location
- Kitchener, Ontario, Canada
- Posts
- 187
Shutting down linux at a specific time.
So at work I usually forget to shut down my computer at the end of the day 5:30 and they switch the breaker off at 6pm which cant be good way to shut down a computer. So i was doing some googling and this is what i come up with.
this is the example i found online
Code:#crontab -e -u root
since the above turns it down at 8pm i need to edit it to 5 30pmCode:0 20 * * * /sbin/shutdown -h now
would this be correct?Code:0 17:30 * * * /sbin/shutdown -h now
- 04-28-2010 #2
My method is quite primitive. Hope you get to know of a more efficient way

120 minutes and its off...Code:su - shutdown -h 120
nujinini
Linux User #489667
- 04-28-2010 #3
- 04-28-2010 #4Linux Newbie
- Join Date
- May 2009
- Location
- Kitchener, Ontario, Canada
- Posts
- 187
- 04-28-2010 #5Linux Newbie
- Join Date
- May 2009
- Location
- Kitchener, Ontario, Canada
- Posts
- 187


Reply With Quote
