1

Since OS X has its own task scheduler, launchd, it appears that crontab is a relic.

Hence I'm wondering: Will a cron job (crontab) wake OS X up from sleep?

In case it matters, I'm on Yosemite 10.10.5.

Why I'm not switching to launchd? Laziness:

> man launchctl | wc
     463    2975   27730
> man crontab | wc
      72     433    3577

The man page is a lot larger, and crontab does everything I need.

  • 1
    Answer here from Superuser. – IconDaemon Feb 24 '16 at 21:40
  • 1
    I would delve into the Terminal command pmset and find out how to schedule startup/wake from sleep. A little testing should show you, as an example, if waking the Mac from sleep at 2:55AM with pmset, a cron job set for 3:00AM will run as expected. – IconDaemon Feb 24 '16 at 21:44
  • Have you tried it? You can answer your own question, let us know. – CousinCocaine Feb 24 '16 at 23:20
3

cron doesn't execute while the computer is asleep. So cron can't wake your system.

See: https://superuser.com/a/14846/246895

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .