I have a crontab that works as expected when my mac is awake but seems not to run when the mac is asleep even though I've scheduled the it to wake up a few minutes before it's supposed to run. In the crontab I've forwarded the output and errors so I can see if anything is failing, but these are also not updated so I gather the script isn't running at all. I know the scheduled start up only works if the mac is charging so I've had it charging over night (which seems bad for the battery) and still nothing... Any ideas what might be happening or what I can change? Thanks so much!
- I had previously it scheduled to wake up 5 minutes before the job was to be run. I changed that to 1 minute before and it still didn't go through.
- As for how I'm waking it up, I just went to System Preferences -> Battery -> Schedule and clicked "Start or wake up" (every day)—see image below. I'm not sure exactly what state it returns to or whether there's a way to configure that (sorry, newbie here).