Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a cron job that will mail a list of all Google Tasks to my email address daily at 7am. (

I am running this on my laptop which, like me, is in sleep mode at 7am.

Can I fix this to run after I wake the machine from sleep each day?

share|improve this question
up vote 6 down vote accepted

If you use launchd instead of cron, tasks that were supposed to have ran while your Mac was sleeping will run when it wakes up. There's some more info (including usage) available here.

(For what it's worth, Apple recommends using launchd instead of cron, and may even phase out cron at some point in the future.)

share|improve this answer
For those who may look here, but are running systems other than OS X, such as Linux, take a look at anacron. – Dennis Williamson Jul 29 '10 at 15:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.