Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Caleb531

macrumors 6502
Original poster
Oct 17, 2009
289
0
I have written an applescript which tells me when I last backed up with Carbon Copy Cloner. I am hoping to add an option to the dialog which will run my CCC scheduled task and back up. From my understanding, the scheduled backup is run through launchd, and the PLIST is located in /Library/LaunchDaemons/. Is there any way I can run this task directly using AppleScript or a shell script (since AS can do that)?
 
Maybe. I have no experience with CCC's scheduled backups, and I haven't used the rest of it in five years. Check the man pages for launchd.plist and launchctl. Everything you need to know is in there. If what you want can be done, you'll have to go through launchctl, and you may need to create your own plist.

Note that TextWrangler is a good editor for plists in that it automatically converts binary plists to text, so you always see them as xml.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.