Re: Applescript schedulers
Re: Applescript schedulers
- Subject: Re: Applescript schedulers
- From: Paul Scott <email@hidden>
- Date: Tue, 20 Nov 2007 12:24:46 -0800
So, is it or is it not going to be removed eventually!? and is it
or is it not going to be replaced by launchd?
Being new to launchd, I decided to see how it compares with cron.
Answer: not well, IMHO.
Apple states in the crontab manpage:
"(Darwin note: Although cron(8) and crontab(5) are officially supported
under Darwin, their functionality has been absorbed into launchd(8),
which provides a more flexible way of automatically executing commands.
See launchctl(1) for more information.)"
The "absorbed" functionality is limited. For one thing, there is no
automatic mail sent with job output, and as a result no method for
specifying an overriding recipient or to enable/disable mail. For
another, scheduling in launchd isn't as powerful as cron. There doesn't
seem to be any direct support for ranges, lists, or steps. Also, the
subtleties of how the hour/minute/mday/month/wday combine isn't
specified for launchd as it is for cron. In short, launchd falls short
in many ways as compared to cron. The claim that launchd is more
"flexible" is dubious in light of these shortcomings, as well as its
far more complicated XML property list format. Even for the simplest
schedule it takes more than 15 lines of XML, whereas 1 line in crontab
would do the same, nay, implicitly more!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden