Results 1 to 2 of 2
  1. #1

    Member Since
    Dec 13, 2009
    Problems using rsync and launchd
    I have a computer at work that I would like to backup. I only need to backup a couple of folders, and I won't be connected to any external drives except for an 8GB usb stick. I have a 13" Macbook Pro.

    I have had reasonable success with this using rsync and launchd. But there are a few quirks. For instance, the following launch agent spawns TWO rsync processes that run continuously and eat up around 30% of my CPU. Does anybody know why there are two processes, why they run continuously, or why they eat up so much power when they are copying nothing?

    It seems to be copying all the files over and over again every ten minutes, despite the fact that they haven't changed. My entire reason for using rsync was to get avoid this.

    Also, I don't want to use chronosync, time machine, or any other third party software. I'm not that kind of guy.

    Any help at all would be appreciated.

    <plist version="1.0">
            <string>USB backup</string>

  2. #2

    ed724's Avatar
    Member Since
    Feb 08, 2005
    Looks like you need something in there to check for differences, then copy if yes, and close down the process when complete. Use a cron job to spawn the process versus running at boot.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. launchd plist file
    By vasu in forum macOS - Operating System
    Replies: 2
    Last Post: 12-13-2011, 10:32 AM
  2. launchd problems
    By DeviousDan in forum macOS - Operating System
    Replies: 0
    Last Post: 02-09-2009, 09:47 PM
  3. Mac 10.4: Launchd Problem
    By Pankaj in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 02-19-2008, 02:05 AM
  4. Getting launchd working
    By dr_springfield in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 05-10-2005, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts