When you need to reboot your server you can specify a time due the following command.

 

shutdown -r 23:58

When need to cancel the reboot? 

# Shutdown scheduled for Mon 2019-03-18 23:58:00 CET, use 'shutdown -c' to cancel