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
- The easiest is to use the at command.
The following example will execute
shutdown +5at a specific time and day:echo "shutdown +5" | at 10:05am 2019-01-19 - 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