Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSTimer questons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer questons



Have you considered using cron instead? It does not have a system preferences panel but it runs programs according to a user defined schedule and is available by default.

man cron

TR

On Jul 6, 2004, at 12:38 PM, Kodex wrote:

Does anyone have any info on this to help me set it
up. Basicly i need a timer that can be set to X amount
of minutes in the system prefreneces and then fire on
that mark while the system is still running.


--- Stiphane_Sudre <email@hidden> wrote:
Le Jul 6, 2004, ` 12:29 PM, Kodex a icrit :

I am working on a system preference pane and i
want to
have a timer running in it so i can update things
at
boot and keep updating them to shutdown. The issue
is
my timer stops working as soon as you quit System
Preferences and dosnt load at boot? I was
wondering if
i am using the wrong kind of timer for this or if
i
just wasnt coding it right. If someone could give
me
some examples or point me in the right direction
it
would really help me out. Thanks in advance.

Why would the timer be running when the system
preference pane is not
loaded?

System Preferences pane are only loaded and running
when System
Preferences.app is running and they have been shown
at least once.

What you're looking for is probably a system daemon
that you would
launch with a startup script or the bootstrap thing
on Mac OS X 10.3.
_______________________________________________
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.





__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Re: NSTimer questons (From: Kodex <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.