[launchd-dev] launchd support ranges for StartCalendarInterval?

Richard Glaser richard at scl.utah.edu
Tue Jan 15 16:33:51 PST 2008


FYI:

Sorry, for this slightly off-topic..

Does launchd does support ranges say for "Days" in the  
StartCalendarInterval?

For example, with cron if I wanted to run a script on the first &  
third Sunday of each month at 4 AM. I could use this code with a  
range...

# minute		hour	mday		month	wday	who		command
0			4		1-7,15-21	*		0		root		/path/to/script1

Then I could run another script the second & fourth Sunday of each  
month at 4 AM...

# minute		hour	mday		month	wday	who		command
0			4		8-14,22-31	*		0		root		/path/to/script2

Is this possible with launchd?

Thanks:

Richard Glaser
University of Utah - Student Computing Labs
richard at scl.utah.edu
801-585-8016



More information about the launchd-dev mailing list