Re: Scheduling an application function/event
Re: Scheduling an application function/event
- Subject: Re: Scheduling an application function/event
- From: Niko Matsakis <email@hidden>
- Date: Sat, 15 Oct 2005 10:44:52 +0200
Okay, I would suggest LaunchD, though I admit I know almost nothing
about it so it may not be appropriate. But it seems like it was
designed for this purpose. Of course, it is 10.4+.
Niko
On Oct 15, 2005, at 1:28 AM, Aaron Wallis wrote:
Hi Uli,
Thanks for the help - basically im building a custom backup
solution for the company I work for. And I need to allow the
administrators to schedule particular events.
I would prefer not to use iCal - but rather something in the system.
as an example, heres some psuedocode:
[ app ]
User creates backup plan
backup schedule saved to database/datastore
schedule added to system for processing
---------------------------------------------
[ system ]
when schedule date & time is met
launch app and tell it to process backup plan X.
app - close when complete or display log
Any suggestions on which system would be best to use for this?
Cheers & thanks !
On 15/10/2005, at 12:49 AM, Uli Kusterer wrote:
Am 14.10.2005 um 15:32 schrieb Aaron Wallis:
Im building an application that requires scheduled events.
I was hoping to build these events right into osx - so the user
didn't have to have the app running all the time to 'catch' these
events/schedules.
Is there a way of doing this?
Check out the following things:
launchd
cron
iCal (it can run AppleScripts etc. and you could integrate
with that)
background-only applications (NSUIElement, NSBgOnly plist flags)
Kernel extensions
The Darwin source code
I can't give you any more precise plans because you've not been
precise on what you actually want to do either.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
Send instant messages to your online friends http://
au.messenger.yahoo.com_______________________________________________
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
_______________________________________________
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