I have a script that is set to run after reboot with @reboot
. There is a problem with the script and crashing the system as soon as it boot up. Is there away to prevent the job from running?
-
1Comment it out or remove it. This isn't difficult.– Nasir RileyCommented Aug 3, 2020 at 2:37
-
That is assuming I can log in, but now I can't. It will just crash the system and shut it down as soon as it boot up– hugo leungCommented Aug 3, 2020 at 2:38
-
7Read up on single user mode. You can log in that way to comment or delete the cronjob.– Nasir RileyCommented Aug 3, 2020 at 2:42
-
Thank you. single user mode did the trick.– hugo leungCommented Aug 3, 2020 at 3:00
-
@hugoleung I think you should answer your own question with what was done or delete your question, since it appears there's no answer needed anymore.– A.BCommented Aug 3, 2020 at 12:53
Add a comment
|
1 Answer
Following Nasir Riley's suggest, boot into single user mode and delete the cronjob