Git Product home page Git Product logo

shutdowncloser's Introduction

ShutdownCloser

A Windows batch script scheduler for un-attended shutdown with quick and easy entry for either a timer or end time that shows the countdown progress and allows terminaton at any time. An addition to the many other variants. Here to share in case it is useful.

Closer.bat

A batch file to set a timer or the time to Shutdown, Log off, Sleep or Hibernate.

Time entry - with protection against empty or incorrect entry

  • To set a timer - enter the hours, minutes and seconds before action
  • To set a time - enter the hour and minute for action

The timer is managed using timeout which shows the seconds counting down and gives the option to quit at any time using "Ctrl-C". The maximum timer value is 99999 seconds (27:46:39).

StartCloser.bat

The command console for Closer.bat is started with low affinity and lowest prority so that it is has minimal impact on the system while running.

Command line arguments

Edit "StartCloser.bat" to add arguments for hours, minutes and seconds.

  • hours + minutes - set time for shutdown
  • hour + minutes + seconds - set timer for shutdown

Example : shut down at 10:30 pm

START /low /affinity 01 cmd /C closer.bat 22 30

Closer.lnk

A handy shortcut for the desktop.

shutdowncloser's People

Contributors

leadedge avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.