Skip to main content
Fixed typo and capitalization; improved formatting and punctuation.
Source Link

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

1) The easiest is to use the at command. The following example will execute shutdown +5 at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

2) if you do not mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you are absolutely sure the system will not reboot in between:

shutdown +1440
  1. The easiest is to use the at command.  The following example will execute shutdown +5 at a specific time and day:
    echo "shutdown +5" | at 10:05am 2019-01-19
    
  2. If you do not mind using your calculator and want to shutdown in, say, 24 hours (24×60=1440 minutes) and you are absolutely sure the system will not reboot in between:
    shutdown +1440
    

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

1) The easiest is to use the at command. The following example will execute shutdown +5 at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

2) if you do not mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you are absolutely sure the system will not reboot in between:

shutdown +1440

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

  1. The easiest is to use the at command.  The following example will execute shutdown +5 at a specific time and day:
    echo "shutdown +5" | at 10:05am 2019-01-19
    
  2. If you do not mind using your calculator and want to shutdown in, say, 24 hours (24×60=1440 minutes) and you are absolutely sure the system will not reboot in between:
    shutdown +1440
    
the -r after shutdown causes a reboot and therefore should not be present in this context
Source Link

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

1) The easiest is to use the at command. The following example will execute shutdown +5 at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

2) if you don'tdo not mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you'reyou are absolutely sure the system will not reboot in between:

shutdown -r +1440

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

1) The easiest is to use the at command. The following example will execute shutdown +5 at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

2) if you don't mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you're absolutely sure the system will not reboot in between:

shutdown -r +1440

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

1) The easiest is to use the at command. The following example will execute shutdown +5 at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

2) if you do not mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you are absolutely sure the system will not reboot in between:

shutdown +1440
deleted 18 characters in body
Source Link
ndemou
  • 3k
  • 2
  • 24
  • 27

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

1) The easiest is to use the at command. The following example will shutdown at 10:10amexecute (10:10am +shutdown 5) and give a 5min warning (+5) at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

but2) if you don't mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you're absolutely sure the system will not reboot in between:

shutdown -r +1440

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

The easiest is to use the at command. The following example will shutdown at 10:10am (10:10am + 5) and give a 5min warning (+5):

echo "shutdown +5" | at 10:05am 2019-01-19

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

shutdown -r +1440

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

1) The easiest is to use the at command. The following example will execute shutdown +5 at a specific time and day:

echo "shutdown +5" | at 10:05am 2019-01-19

2) if you don't mind using you calculator and want to shutdown in say 24hours (24*60=1440 minutes) and you're absolutely sure the system will not reboot in between:

shutdown -r +1440
Added link to man page and a better time/date format
Source Link
ndemou
  • 3k
  • 2
  • 24
  • 27
Loading
added 8 characters in body
Source Link
ndemou
  • 3k
  • 2
  • 24
  • 27
Loading
formatting
Source Link
ndemou
  • 3k
  • 2
  • 24
  • 27
Loading
Source Link
ndemou
  • 3k
  • 2
  • 24
  • 27
Loading