Run Carbon Copy Cloner Scheduled Backup w/ AppleScript

Discussion in 'Mac Programming' started by Caleb531, Dec 16, 2009.

  1. Caleb531 macrumors 6502


    Oct 17, 2009
    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)?
  2. Detrius macrumors 68000

    Sep 10, 2008
    Asheville, NC
    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.

Share This Page