A simple GUI-based Windows application to schedule system actions like shutdown, restart, log off, or hibernate after a set time.
- Set Timer: Specify hours, minutes, and seconds until the action occurs.
- Choose Action: Options to:
- Shutdown
- Restart
- Log Off
- Hibernate
- Countdown Display: Shows the remaining time until the chosen action.
- Cancel Timer: Cancel the scheduled action anytime before the countdown ends.
- Warning Notifications: Option to receive a warning notification before the system action is executed.
- Error Handling: Ensures invalid inputs (e.g., negative time or zero time) are properly handled.
-
Download the Executable:
- Download the
.exefile from the Releases section of this repository. - No installation required; just run the executable directly.
- Download the
-
Set the Timer:
- Enter the desired time (hours, minutes, and seconds).
- Select the action you want to perform (Shutdown, Restart, Log Off, Hibernate).
- Optionally enable warning notifications before the action is triggered.
-
Start Timer:
- Click "Start Timer" to start the countdown.
- The remaining time will be displayed.
-
Cancel the Timer:
- Click "Cancel Shutdown" to abort the scheduled action at any time.
If you prefer to run the Python source code or build the executable yourself:
- Python 3.x must be installed on your system.
- Install the required dependencies by running:
pip install tkinter
Clone this repository or download the shutdown_timer.py file.
git clone https://github.com/your-username/shutdown-timer.git
cd shutdown-timerpython shutdown_timer.pyThis project is licensed under the MIT License. See the LICENSE file for more details.