• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cron / Scheduling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Cron / Scheduling
      • From: Karl Kuehn <email@hidden>
References: 
 >Cron / Scheduling (From: Dave Hersey <email@hidden>)

  • Prev by Date: NSWindowController:shouldCloseDocument
  • Next by Date: Storing NaN in NSMutableArray ?
  • Previous by thread: Cron / Scheduling
  • Next by thread: Re: Cron / Scheduling
  • Index(es):
    • Date
    • Thread