0

I'm very new to ubuntu. I am trying to cancel a shutdown I accidently put using the command echo "0 3 * * * root /sbin/shutdown -h 5 'system will reboot in 5 minutes'" | sudo tee /etc/cron.d/reboot-at-3am How can I stop this from shutting down. I wanted it to reboot at 3am but it is just shutting down and not restarting.

1 Answers1

0

Just run

shutdown -c

to cancel the pending shutdown and correct your command

kureikain
  • 101
  • 2