Automatic Shutdown

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
shane
Level 5
Level 5
Posts: 940
Joined: Sun Feb 25, 2007 11:15 pm
Contact:

Re: Automatic Shutdown

Post by shane »

I think cron would be the ideal tool to use if you would like to shutdown irrespective of whatever is happening and without any input from you.

Here are some links to help you:
http://www.review-ninja.com/2009/03/eas ... howto.html
http://www.adminschoice.com/docs/crontab.htm
http://www.linuxhelp.net/guides/cron/

Add your cron job to the root user's jobs by running 'sudo crontab' instead of just 'crontab'

If you want to initiate the shutdown manually every time but have it shutdown at a later point in time, this can be easily done with a simple command.

Code: Select all

sudo shutdown -h 01:00
This will shutdown the machine at 1am. Run 'man shutdown' for more info.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”