• 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
Running a program at regular intervals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running a program at regular intervals


  • Subject: Running a program at regular intervals
  • From: Jeremy Faller <email@hidden>
  • Date: Sun, 23 Feb 2003 22:04:41 -0500

All:

Hello there. I have a quick question that I'm sure people can help me with (and I couldn't find a good answer in the archives).

Let's pretend I have a Cocoa program that I would like to run at a regular interval -- think Apple's Software Updater". This program wants to run once a week, and if the day it is scheduled to run passes, it runs during the next boot/wakeup.

Short of writing a little daemon that runs my application, does anyone have an idea how to ensure that this happens? (I'm drawn to think of at or cron, but I'm inclined to believe that neither are run when a computer wakes; and, I think at jobs are lost on reboots...)


Thanks in advance.

-- Jeremy Faller
_______________________________________________
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: Running a program at regular intervals
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: Objective-C commenting
  • Next by Date: Table View with no selection
  • Previous by thread: Re: Cocoa approachable by non-programmers ?
  • Next by thread: Re: Running a program at regular intervals
  • Index(es):
    • Date
    • Thread