Automatic Shutdown on Ubuntu GNOME via Scheduled Tasks
by: Revengksky Joseph D. Reyes (a.k.a rjdreyes – jcyberinux.com)
(Note: For this event you may need an internet connection, in case of need to install or download available updates on your Ubuntu OS.)
For Ubuntu Desktop Users especially with GNOME GUI. Now if you want to schedule the task of the automatic shutdown everyday or certain day, this guide or tip will help you to accomplish that.
(Note: For GNOME GUI, I’m not certain on other GUI Environment such as Unity, 😀 , you may try if you want to see the results.)
1. Go to Applications then to Accessories then click Ubuntu Software Center.
At Ubuntu Software Center, Type scheduled task on the keyword search, then click Install.
(Note: It will ask for a 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, other the System Tools, then from there you able to see 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 a 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 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(GNOME and Applications) Logo/Images/Pictures has a respective copyright. I used it for demonstration purpose only.)