Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to edit my crontab file to schedule a script. Where do I find it?

share|improve this question

3 Answers 3

up vote 7 down vote accepted

If you don't want to use launchd, you can edit your crontab as you would do on any unix systems :

crontab -e

Or, you can use a GUI software like CronniX.

share|improve this answer
2  
And if you want to see your crontab content use crontab -l –  Ermiar Sep 4 '10 at 13:06
1  
I would highly recommend CronniX. It provides a much (much!) easier way of setting up cronjobs. –  daviesgeek Nov 10 '11 at 7:52

In OS X Lion the user crontabs are stored in /var/at/tabs. In the past they were located in /var/cron/tabs.

You should use crontab -e to interact with these in general, but knowing the location is useful when you want to restore them from a backup of our disk, or something similar.

share|improve this answer
    
In Snow Leopard, the user crontabs are stored in /var/cron/tabs, as well. –  Jack Humphries 2 days ago

The OSX way is to use launchctl to run jobs at a time. For ease of use there is a GUI called Lingon

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.