Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Shutdown Linux Machine At Specific Time

Here is a useful command when you need to shutdown you machine at a specific time of the day. For example after a specific event you needed to log.

shutdown -h hh:mm

Shutdown scheduled for ons 2017-04-12 22:35:00 ICT, use 'shutdown -c' to cancel.

Remark, you can can always cancel the shutdown with "shutdown -c".

Example:

shutdown -h 22:35

Get more info with "shutdown --help".

 

Suspend

Here is an example if you want to suspend: sudo echo 'sudo pm-suspend' | at 22:35

Last modified
2017-05-16

Tags

  • Linux
  • Log in to post comments

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.