From 7e92f7d3f8f43704df979e53addee5a13cf56af7 Mon Sep 17 00:00:00 2001 From: Frank Fesevur Date: Fri, 1 Dec 2023 11:10:19 +0100 Subject: [PATCH] Minor updates --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c8666f6..824fc41 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ One of the Cygwin tools I used often on our servers at the office was the `shutd Yes, Windows has a pretty decent `shutdown.exe` but the major advantage of the Cygwin `shutdown` is that it mimics the Linux `shutdown` command, especially the possibility to add a timestamp at the end. And another minor disadvantage of `shutdown.exe` is that when you use the wrong command line options you could shutdown the machine instead of rebooting it. -``` +```sh shutdown -fri 23:30 ``` @@ -19,13 +19,15 @@ The program will calculate the number of seconds between the moment of invocatio Every month I miss this functionality. When you need to install the regular Windows updates on a number of servers, you want to reboot them at a moment it has the least impact for the users. And you don't want to calculate that number of seconds. +And I don't want to have to go through the hassle of setting up a one-time Scheduled Task. +A command line tool is much easier. I have maintained the [sources of Cygwin shutdown](https://github.com/cygwin/shutdown) for some time, so I took that as an inspiration for this tool. And since some of the code has been reused, I will obviously release this with the GPL2 license as well. ## Usage -This command line tool reboot you machine at a given time. +This command line tool reboots you machine at a given time. The tool takes just one argument, a timestamp when the computer needs to reboot. @@ -39,7 +41,7 @@ RebootAt now A timestamp means to reboot at the first time this time will occur. The timestamp has to be in 24-hours notation. -``` +```sh # Reboot today at 23:30 RebootAt 23:30