• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: crontab interface from Cocoa or CF?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >crontab interface from Cocoa or CF? (From: Alex Rice <email@hidden>)

  • Prev by Date: Re: Localization and resources loading order
  • Next by Date: Links in RTF
  • Previous by thread: crontab interface from Cocoa or CF?
  • Next by thread: Re: Localization and resources loading order
  • Index(es):
    • Date
    • Thread