Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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've written a program using the bash shell that I want to use to wake myself up in the morning (pulls up the weather, plays some music, etc.). How do I make my Mac OSX run the program every day at 7:00 AM automatically?

share|improve this question

migrated from stackoverflow.com Jun 16 '11 at 3:00

This question came from our site for professional and enthusiast programmers.

up vote 7 down vote accepted

As Mac OSX is BSD and BSD is Unix, you can use the Cron-Daemon. Just edit your cron-file with

crontab -e

an put in the following line

 0 7 * * *     /path/to/your/script/here

More details here: article about Cron in Wikipedia

share|improve this answer
    
Thanks, this was exactly what I needed – Phil Braun Jun 15 '11 at 15:57

You can use cron to schedule it to be used every day at time you desire

Check the following link: http://hints.macworld.com/article.php?story=2001020700163714

share|improve this answer

You must log in to answer this question.

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