The Power-Off Scheduler script provides a simple graphical interface for Linux users to schedule system shutdowns or cancel scheduled ones. Leveraging zenity
for graphical prompts and shutdown
for scheduling, it simplifies the process of managing system power-off tasks.
-
Clone the Repository:
git clone https://github.com/KIRAN-KUMAR-K3/poweroff-script.git
-
Navigate to the Repository:
cd poweroff-script
-
Make the Script Executable:
chmod +x poweroff.sh
-
Run the Script:
./poweroff.sh
-
Schedule Power-Off: Select "Schedule Power-Off" to schedule a system shutdown. Enter the desired delay in minutes and confirm.
-
Cancel Scheduled Power-Off: Choose "Cancel Scheduled Power-Off" to revoke a previously scheduled shutdown. Confirm the action.
-
Exit: Select "Exit" to quit the script.
- Linux operating system
- Bash shell
This project is licensed under the terms of the MIT License. See the LICENSE file for details.
Contributions are welcome! For suggestions, enhancements, or bug fixes, please open an issue or submit a pull request.
If you have any questions or require further assistance, feel free to reach out.