Re: Crontab/Scheduled tasks
Re: Crontab/Scheduled tasks
- Subject: Re: Crontab/Scheduled tasks
- From: Hasan Diwan <email@hidden>
- Date: Thu, 26 Dec 2002 14:21:33 -0500
On Thursday, December 26, 2002, at 07:56 AM, Martin Weil wrote:
>
>
So my first question is, if there are other possibility to run
>
scheduled tasks with cocoa, without my app running all the time?
at(1), cron(1), a resident shell script that checks if the time has
been reached, etc.
>
Second question is, how can I set the crontabs from within cocoa?
Create the crontab file by hand and hand it off to crontab using NSTask.
>
Third question is, if there is any possibility to know whether my was
>
started by crontab or by the user?
I suppose you could look at the time and make a probabilistic guess.
>
Hasan Diwan
OpenPGP KeyID: 0x7EE3855B
Fingerprint: 42F0 5758 C3EB BA1F ABD2 ED49 3390 CCF0 7EE3 855B
http://www.cs.rpi.edu/~diwanh/gpg.key
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
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.