• 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: Scheduling tasks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduling tasks


  • Subject: Re: Scheduling tasks
  • From: j o a r <email@hidden>
  • Date: Fri, 15 Jul 2005 10:05:01 +0200


On 15 jul 2005, at 10.01, Rakka wrote:

I've looked at NSTimer, but it doesn't seem enough. (I may be wrong though)

Would it be able to, for example, fire on particular days of the week?

I want to have the user to be able to configure which days it runs on (Mon-Fri with checkboxes/popup list), and what time on those days. See energy saver scheduling prefs to see the sort of thing I want.

It doesn't have predefined methods to do exactly that, but you can of course set it up to do just that yourself. It all comes down to calculating the time interval between the time when you set up the timer, and the time when it should fire. Once you know how long time you want to wait before firing the timer, set it using:


    +[NSTimer scheduledTimerWithTimeInterval:invocation:repeats:]

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Scheduling tasks
      • From: Rakka <email@hidden>
References: 
 >Scheduling tasks (From: Rakka <email@hidden>)
 >Re: Scheduling tasks (From: j o a r <email@hidden>)
 >Re: Scheduling tasks (From: Rakka <email@hidden>)

  • Prev by Date: Re: Scheduling tasks
  • Next by Date: Easy one.
  • Previous by thread: Re: Scheduling tasks
  • Next by thread: Re: Scheduling tasks
  • Index(es):
    • Date
    • Thread