Posted on 04-25-2018 07:24 AM
Hello everyone, I did some testing with a few scripts the other week. I have a couple post here explaining what I needed. I noticed that my computer is now restarting every day at the same time. I have deleted several scripts that I tested. I have no idea whats causing this. Does anyone know how I can troubleshoot this?. Also, my previous post are still open for input.
Posted on 04-25-2018 07:39 AM
I'm not sure exactly what you have done but one of the scripts had a reboot plist in it, do you have anything like that under /Library/LaunchDaemons/ ?
Posted on 04-25-2018 07:44 AM
Also if you did any tests in your script using the 'pmset' command or 'systemsetup' command, pay close attention to your energy saver settings. You can set a shutdown/reboot schedule with those commands. Look specifically at the Schedule... button in the GUI on your energy saver settings.
Posted on 04-25-2018 08:46 AM
Would this be it?
Posted on 04-25-2018 08:48 AM
Yup... you are issuing a reboot command with that launchd job
Posted on 04-25-2018 08:52 AM
how do I stop this?
Posted on 04-25-2018 08:57 AM
I would need the exact path and name of the file you found but it should go something like this
“launchctl unload /<your file location>/org.your.rebootdelay.plist”
The file name was taken from the plist file you attached. If it is in LaunchDaemons you may need to run with sudo
Posted on 04-25-2018 09:09 AM
Is it also suitable to delete the file?
Posted on 04-25-2018 09:10 AM
Once you’ve unloaded, yes
Posted on 04-25-2018 09:25 AM
Posted on 04-25-2018 09:25 AM
Try without .plist
Posted on 04-25-2018 10:18 AM
Posted on 04-25-2018 10:29 AM
You can delete the file and reboot, but shouldn't be necessary...I saw the label in your plist above but could I see the actual file in a Finder window...maybe it's named something differently than org.your.rebootdelay.plist