Re: crontab interface from Cocoa or CF?
Re: crontab interface from Cocoa or CF?
- Subject: Re: crontab interface from Cocoa or CF?
- From: Andrew Pinski <email@hidden>
- Date: Fri, 26 Jul 2002 14:40:00 -0400
If you set the EDITOR environment variable to a script that does
it you can then run `crontab -e'.
Or you can run `crontab -l >/tmp/mycrontabfiletemp', then edit
the file. Then load the file back
by running `crontrab /tmp/mycrontabfiletemp'.
This is the standard way of editing the crontab from a program in UNIX.
Thanks,
Andrew Pinski
On Friday, July 26, 2002, at 02:05 , Alex Rice wrote:
I noticed that the new iDisk Backup.app creates a crontab entry:
47 1 * * * "/Applications/Backup.app/Contents/MacOS/Backup"
-backupNow >/tmp/backuplog.0000455 2>&1
I want to do something similar for my app. I know how to edit
it with 'crontab -e' , vi, done. However, what's the most
elegant way to manage crontab entries from a Cocoa app?
Alex Rice <email@hidden>
Mindlube Software
http://www.mindlube.com/
_______________________________________________
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.