Re: Cron / Scheduling
Re: Cron / Scheduling
- Subject: Re: Cron / Scheduling
- From: Jeff Biggus <email@hidden>
- Date: Wed, 10 Mar 2004 12:38:17 -0600
If it's a non-GUI app (it sounds like it), I'd use the built-in crontab
scheduling system.
Benefits:
- no need to leave an app running during the other 23:59 hours of the
day
- survives system restarts without a relaunch or the need to make it a
login / startup item
- allows the user to reschedule it to a better time if need be using
any number of crontab utilities. (For instance, I'm usually up coding
and needing system resources at 3am, and like to move typical
late-night tasks to, say, 7 or 8am.)
-jeff
On Mar 10, 2004, at 11:52 AM, Dave Hersey wrote:
If I want an app to perform an action at say, 3AM every day, or every
Friday
at 7PM, is it better to poke something into the cron table using
NSTask,
have a small daemon always running that launches the main app when it
should, or something else?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.