Skip to main content
2 of 7
formatting
ndemou
  • 3k
  • 2
  • 24
  • 27

No you can't specify a date at the shutdown command but two alternatives exist:

The easiest is to use the at command:

echo "shutdown -r now" | at 10am Jul 31

but if you don't mind using you calculator and want to shutdown in say 24hours (24*60=1440):

shutdown -r +1440
ndemou
  • 3k
  • 2
  • 24
  • 27