sant0sk1
Mar 19, 2009, 11:23 AM
Hi!
I want to run a Ruby script I after certain system events. The events I'm interested in are:
awake from sleep
exit screen saver
network connection established
I originally just used cron to schedule this script but I've been reading a bit about launchd and it seems to be the preferred way to launch scripts. Is there a way to achieve my goal using launchd?
I want to run a Ruby script I after certain system events. The events I'm interested in are:
awake from sleep
exit screen saver
network connection established
I originally just used cron to schedule this script but I've been reading a bit about launchd and it seems to be the preferred way to launch scripts. Is there a way to achieve my goal using launchd?
