Automatic Shutdown on Ubuntu Unity via Scheduled Tasks
by: Revengksky Joseph D. Reyes (a.k.a rjdreyes – jcyberinux.com)
For Ubuntu Desktop Users especially with Unity GUI.
(Note: For this event you may need an internet connection, in case of need to install or download available updates on your Ubuntu OS.)
1. Click Ubuntu Software Center. At Ubuntu Software Center, Type scheduled task on the keyword search, then click Install.
(Note: It will ask for administration password, or your own account password, type it and click Authenticate or press enter key.)
2. You can verify and check if the application installed successfully, click on ubuntu logo, then type on the search keyword Scheduled Tasks. But we aren’t going to use that shortcut link.
We need the root/administrator to execute the scheduled tasks of automatic shutdown, because it has root permissions and more controls like edit on the scheduled tasks.
3. To execute and to begin on root, press ALT+F2, then type gksu gnome-schedule. Then click Run to launch Scheduled Task.
(Note: It may ask for administration password, or your own account password, type it and click Authenticate or press enter key.)
4. At Schedule Task, click New to select the type of the scheduled task. Select A task that launches recurrently.
Or you can simply click the drop arrow key next to New, then select Recurrent task.
5. From here, type the following setup, from my example below is my current setup for the scheduled task of automatic shutdown.
Description: given name for the task.
Command: /sbin/poweroff (responsible for the shutdown)
Choose Default behaviour.
Time & Date: Choose the following time and date for your current needs. On Basic setup will give you limited choices, and for Advanced setup you can choose your preferred date/time, take note that on time uses 24hour or military time format. Asterisk (*) is symbolize as always or every day.
Click Add after the setup is finish. (Note: A warning will prompt, relax it’s completely harmless, just ignore it, and click OK.)
After that you will able to see that auto-shutdown setup added on the scheduled tasks list.
You can add more scheduled tasks and explore other setup. Please share for any additional information here in our comment. Cheers! 😀
(Note: Ubuntu(Unity and Applications) Logo/Images/Pictures has a respective copyright. I used it for demonstration purpose only.)
Related Entries / Links / Sources / Articles / Sources:
Automatic Shutdown on Ubuntu GNOME via Scheduled Tasks
Ubuntu Official Site
Download Ubuntu Official Site