Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

2 Answers 2

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

Your Answer

 
discard

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.