{"id":25929708,"url":"https://github.com/setsumi/shutdowntimer","last_synced_at":"2026-05-07T05:31:49.524Z","repository":{"id":246462868,"uuid":"821198750","full_name":"setsumi/ShutdownTimer","owner":"setsumi","description":"Pick a time and let your computer shutdown itself. ","archived":false,"fork":false,"pushed_at":"2024-07-01T13:10:45.000Z","size":1068,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T20:53:04.540Z","etag":null,"topics":["custom-command","gui","hybernate","lock","logout","restart","shutdown","sleep","timer","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/setsumi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-28T03:02:04.000Z","updated_at":"2025-01-13T00:11:57.000Z","dependencies_parsed_at":"2025-06-02T21:16:23.084Z","dependency_job_id":null,"html_url":"https://github.com/setsumi/ShutdownTimer","commit_stats":null,"previous_names":["setsumi/shutdowntimer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/setsumi/ShutdownTimer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setsumi%2FShutdownTimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setsumi%2FShutdownTimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setsumi%2FShutdownTimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setsumi%2FShutdownTimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/setsumi","download_url":"https://codeload.github.com/setsumi/ShutdownTimer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setsumi%2FShutdownTimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32724473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-command","gui","hybernate","lock","logout","restart","shutdown","sleep","timer","windows"],"created_at":"2025-03-03T22:19:04.986Z","updated_at":"2026-05-07T05:31:49.491Z","avatar_url":"https://github.com/setsumi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shutdown Timer 🕒\n\nThe original code is from [here](https://github.com/lukaslangrock/ShutdownTimerClassic)\n\nShutdown Timer is a Windows GUI application that allows you to set a timer that will shutdown, restart, hibernate, sleep, logout, lock your PC or execute custom command.\n\n![Screenshot of the main menu](media/screenshots/Menu.png)\n\n# Usage ✨\n\nJust choose a power action from the drop-down menu and then dial in the time span you want. If the counter reaches zero the chosen power action will be executed.\n\nUpon reaching zero, the Shutdown Timer will (actually Windows will do this, Shutdown Timer just gives the command to) force close any still running applications to ensure the shutdown does not get interrupted.\nTherefore you may experience data loss if any application is in the process of saving or processing data when the shutdown begins.\nYou can combat this by selecting a longer timespan to ensure the running applications has enough headroom to complete its operation or by choosing the *Sleep* or *Hibernate* power actions.\n\nIf you are certain that all applications will exit properly and will not require any human interaction (like a word processor which would open a save dialog when being told to exit), you can choose a graceful shutdown which will just execute a regular shutdown as if you were to manually shutdown Windows yourself.\nThis means that all applications will have enough time to exit and nothing is forced to exit (which also means that applications can interrupt the shutdown).\nThus you should be careful to use this mode as it might result in a failed shutdown.\n*The graceful mode applies to all power actions which force close apps and is not exclusive to a shutdown.*\n\nBy default, the countdown window will be always on top of every other window so you don't forget that you have an active shutdown timer. The countdown can also be hidden by selecting the \"Run minimized to system tray\" checkbox under the dropdown menu. If the countdown is already running you can just right click anywhere in the countdown window to bring up a menu with the option to minimize the countdown to the background. It can also be brought back from the background by clicling tray icon or using the tray menu (described below).\n\n![Screenshot of the main menu with extended combobox](media/screenshots/Menu2.png)\n\n![Screenshot of the settings window](media/screenshots/Settings.png)\n![Screenshot of the right click menu](media/screenshots/RightClickMenu.png)\n\n# Colors 🎨\n\nThe countdown window has 4 different background colors to visualize the time left and one animation to draw your attention when the time is about to run out, in case you forget about the shutdown timer.\nHere is a quick overview:\n\n| Time left     | Color         | Animated  |\n| ------------- | ------------- | --------- |\n| \u003e 30 min.     | Green         | No        |\n| 30 - 10 min.  | Yellow        | No        |\n| 10 - 1 min.   | Orange        | No        |\n| \u003c 1min.       | Red / Black   | Yes       |\n\n![Screenshot of countdown window with green background](media/screenshots/CountdownGreen.png)\n![Screenshot of countdown window with yellow background](media/screenshots/CountdownYellow.png)\n![Screenshot of countdown window with orange background](media/screenshots/CountdownOrange.png)\n![Screenshot of countdown window with red background](media/screenshots/CountdownRed.png)\n![Screenshot of countdown window with black background](media/screenshots/CountdownBlack.png)\n\n# Tray Menu 🔧\n\nShutdown Timer also includes a tray menu to control the application from you Taskbar tray. Just right click the icon to bring it up (you may need to click on the little arrow on the right of your Taskbar to find the Shutdown Timer icon). You can stop, restart and view the timer from it and also switch the UI mode to hide or show the countdown window.\n\n![Screenshot of the tray menu](media/screenshots/TrayMenu.png)\n\nThe same menu can also be accessed by right clicking in the countdown window.\n\n# CLI 💻\n\nYou can also use the command line to start the Shutdown Timer with specific arguments and settings.\nIn PowerShell or CMD navigate to the folder where the executable is located.\n\nThen type `.\\ShutdownTimerClassic.exe` and add the arguments you want after this:\n\n```\nArgument                 Description\n\n/SetTime \u003ctime\u003e          Sets the time for the countdown. Either type in the seconds, use HH:mm:ss or HH:mm.\n\n/SetAction \u003caction\u003e      Sets the power action which will be executed after the countdown reached zero.\n                         Type in the exact name as seen in the UI (eg: Shutdown, Restart or Sleep. Do not use shutdown Reboot or SLEEP)\n\n/SetMode \u003cmode\u003e          Sets the control mode. Modes available:\n                         Prefill:       Prefills settings but let user manually change them too. Timer won't start automatically.\n                         Lock:          Overrides settings so the user can not change them. Timer won't start automatically.\n                         Launch:        Overrides settings and starts the timer.\n                         ForcedLaunch:  Overrides settings and starts the timer. Disables all UI controls and exit dialogs.\n\n/Graceful                Will use the graceful mode if available. This means that your computer will do a normal, interruptible, shutdown.\n                         Your shutdown might fail when apps resist the close event. Only use this if you know what you are doing.\n\n/AllowSleep              Allows your computer to go to sleep while the countdown is active.\n\n/Background              Runs the countdown in the background.\n                         This is not a silent mode, the user will still get notifications and can use the tray menu.\n\n/NoSettings              Uses temporary ephemeral settings and ignores the `settings.json` file.\n```\n\nExample: `.\\ShutdownTimerClassic.exe /SetTime 01:00 /SetAction Hibernate /SetMode Launch`\nThis command will launch launch Shutdown Timer in hibernation mode with 1 hours, 0 minutes and 0 seconds and start the countdown.\n\n# Behavior 📄\n\n## Shutdown sequence\n\nWhen a shutdown is executed all windows will be closed, regardless if they resist or not so any unsaved work will be gone! This is done to be sure your PC shuts down and can not be stopped by another process.\n\nIf you wish to have a normal shutdown you may enable the graceful mode. This will not force close any apps, but might lead to a failed shutdown as any apps which do not exit upon request can pause the shutdown. Apps might not close because they are unresponsive, require user interactions, or are still working. \n\nPlease note that I am not liable for any data loss because you didn't save that extremely important document and now it's gone. That is your fault.\n\n## Canceling the shutdown\n\nAs long as the timer has not reached zero, you can cancel the countdown at any time by simply pressing the close button (that big X in the top right corner). A dialog will then pop up asking you if you want to cancel. If you choose so, the countdown will be immediately canceled and the application will close.\n\nIf you are running it hidden to the system tray, then you can go to the notification area (click on the arrow on the right side of your taskbar) and right-click on the application icon. This will bring up a menu with the option \"Stop and exit\". Clicking this will cancel the shutdown and close the application.\n\n## Logging and Privacy\n\nThe application is **not connected to the internet** and does **not collect usage data**. If there is an internal exception it will save a stack trace and simple event log to the users desktop and notify the user but it will not automatically share any data with anyone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetsumi%2Fshutdowntimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsetsumi%2Fshutdowntimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetsumi%2Fshutdowntimer/lists"}