Re: Background Process?
Re: Background Process?
- Subject: Re: Background Process?
- From: Daniel Richman <email@hidden>
- Date: Tue, 10 Mar 2009 18:24:41 -0700
Set your program as a User Agent with launchd on install (i.e., a login
item). launchd will make sure your program is running when the user logs in.
Then, take a look at the NSTimer docs to implement the every-so-often
part of it.
--Daniel Richman
Pierce Freeman wrote:
Hi everyone:
I am wondering how to create a background process that will only run when
the user is logged in and will run every certain minutes (a bit like Time
Machine). I am also not sure in which way the action in the background
process would be programmed, so any information regarding this would be
great.
Thanks for any help.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden