launchd
launchd
Use the launchd resource to manage system-wide services (daemons) and per-user services (agents) on the Mac OS X platform.
Syntax
A launchd resource manages system-wide services (daemons) and per-user services (agents) on the Mac OS X platform:
launchd 'call.mom.weekly' do program '/Library/scripts/call_mom.sh' start_calendar_interval 'weekday' => 7, 'hourly' => 10 time_out 300 end
The full syntax for all of the properties that are available to the launchd resource is:
launchd 'name' do abandon_process_group TrueClass, FalseClass backup Integer, FalseClass cookbook String debug TrueClass, FalseClass disabled TrueClass, FalseClass enable_globbing T