How to use launchd to schedule a script to run?

Discussion in 'macOS' started by hayduke, Apr 1, 2011.

  1. hayduke macrumors 65816

    hayduke

    Joined:
    Mar 8, 2005
    Location:
    is a state of mind.
    #1
    Years ago I was able to set-up a cron job, but that functionality is deprecated. I have an rsync script that I want to fire off on a schedule, but I can't decipher the launchd (plist etc.) syntax. Any hints? I'm open to other scheduling options, but I'll admit it seems odd to use Automator, iCal, or AppleScript to do this...
     
  2. Ray W macrumors newbie

    Joined:
    Oct 10, 2008
    Location:
    Australia
    #2
    Try this...

    Try a program called Lingon, it is available from the Apple website as well as the developer's page. It comes configured with a lot of system scripts and you can add your own. Actually, if I think about it, it reads the ones in your system and gives you access to them?? Someone might be able to clarify, thanks.
    There are probably other solutions out there but I use this one. You can alter the 'pre-configured' ones but the usual precautions apply, be careful, especially if you are a newbie. But give it a go, cheers.
     

Share This Page