Re: Cron / Scheduling
Re: Cron / Scheduling
- Subject: Re: Cron / Scheduling
- From: Karl Kuehn <email@hidden>
- Date: Wed, 10 Mar 2004 14:11:26 -0500
I would agree with Jeff in going with cron, and would further add that
if it is time dependent (needs to run at exactly 4:05 PM every day...)
then cron is the right way of going. If it is something that needs
doing every day, but can run first thing in the day if the computer is
off at that moment, then look into anancron.
Karl Kuehn
email@hidden
On Mar 10, 2004, at 1:38 PM, Jeff Biggus wrote:
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.)
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.