Blog - Binary Illusion

January 21, 2006

Goodbye cron, Hello launchd

So apple has decided to ditch cron and replaced it with launchd.

launchd is configured through .plist files. Here's the process I used for running a shell script from my user account.

The currently logged in user can run custom launchd scripts by placing them in:

~/Library/LaunchAgents

If the LaunchAgents directory doesn't exist then create it in the terminal with the following command (or just create a new folder in the Finder):

mkdir ~/Library/LaunchAgents

Use emacs or a similar editor to create the plist files

emacs ~/Library/LaunchAgents/script.plist

Continue reading "Goodbye cron, Hello launchd"
Posted by lexton at 10:57 AM | Comments (0) | TrackBack (0)



Recent Entries

Goodbye cron, Hello launchd
Have You Been Blacklisted Yet?
Property List Editor Saves The Day
Captain Brian Chontosh
Linux Desktop Dreaming?