# Shutdown Timer

Generate scripts for scheduled computer shutdown

> Canonical page: https://elysiatools.com/en/tools/shutdown-timer

- **Category:** Utilities

- **Keywords:** shutdown, timer, schedule, power off, restart, sleep, hibernate, auto shutdown

## Overview

The Shutdown Timer is a utility tool that generates custom scripts to automate power management tasks, including shutdown, restart, sleep, and hibernation, for Windows, macOS, and Linux systems.

## Inputs

- **Operating System** (select)
- **Action** (select)
- **Delay Time** (number): Enter delay time
- **Delay Unit** (select)
- **Show Warning Message** (checkbox)
- **Custom Warning Message** (text): Enter custom message (optional)
- **Force Close Applications (Windows only)** (checkbox)

## When to use

- When you need to leave your computer running for a specific task and want it to power off automatically afterward.
- When you want to schedule a system restart or sleep mode to save energy during idle hours.
- When you need to ensure a system logs off or shuts down at a precise time without manual intervention.

## How it works

- Select your operating system and the desired power action from the available options.
- Set the delay time and choose the appropriate unit (seconds, minutes, or hours).
- Optionally customize the warning message to display before the action executes.
- Generate the script and run it on your machine to initiate the scheduled task.

## Use cases

- Automating overnight system shutdowns after long file downloads or rendering tasks.
- Scheduling a system restart during off-hours to clear memory and improve performance.
- Setting a sleep timer for your computer while listening to music or podcasts before bed.

## Frequently asked questions

### Can I cancel a scheduled shutdown once it has started?

Yes, you can typically cancel a pending shutdown command via your system's command line interface (e.g., 'shutdown -a' on Windows).

### Does this tool work on all operating systems?

The tool supports Windows, macOS, and Linux by generating the appropriate command-line script for each environment.

### What happens if I have unsaved work open?

Unless you enable the force close option, the system may prompt you to save your work before shutting down, depending on your OS settings.

### Is the warning message mandatory?

No, you can toggle the warning message off if you prefer the system to execute the action silently.

### What is the maximum delay time I can set?

You can set a delay of up to 10,080 minutes (one week).

## Related tools

- [WiFi QR Code Generator](https://elysiatools.com/en/tools/wifi-qr-generator): Generate QR codes for WiFi networks to easily share credentials with guests
- [Fertilizer N-P-K Blend Calculator](https://elysiatools.com/en/tools/fertilizer-blend-calculator): Compute how to mix base fertilizers to hit a target N-P-K analysis like 10-10-10. Outputs per-fertilizer kg plus a parts ratio for any batch size.
- [Nepali Bikram Sambat & Thai Solar Calendar Bridge](https://elysiatools.com/en/tools/nepali-bikram-sambat-and-thai-solar-calendar-bridge): Convert any date between Gregorian (AD), the Nepali Bikram Sambat (BS) calendar, and the Thai solar (Buddhist Era, BE) calendar. Shows the BS month-length table for the year and explains the algorithm.
- [Pomodoro Timer](https://elysiatools.com/en/tools/pomodoro-timer): Classic Pomodoro technique: 25 minutes of focused work followed by 5 minutes of break to boost productivity
- [Audio Read-Along Cue Generator](https://elysiatools.com/en/tools/audio-read-along-cue-generator): Generate sentence or word-level timestamp cues from a narration audio and its script, for karaoke-style reading and language learning.
- [XLSX Dedicated Index Sheet](https://elysiatools.com/en/tools/xlsx-dedicated-index-sheet): Generate an index sheet for workbook with links to each sheet and core statistics
- [XLSX Invoice Generator](https://elysiatools.com/en/tools/xlsx-invoice-generator): Generate professional invoice/quotation workbooks with auto totals, tax calculations, and company logo embedding
- [XLSX SQL Insert Generator](https://elysiatools.com/en/tools/xlsx-sql-insert-generator): Read Excel headers and rows to generate SQL INSERT statements for bulk loading

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
