No description or website provided.
JavaScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bootstrap
css
js
README.md
github-forkme.png
index.html
launcha-logo.jpg

README.md

Launcha


By Mike Gieson www.gieson.com

Generate a plist file for use with launchd to schedule a background script / process / job to run at regular intervals and (scheduling timed jobs). This is the preferred replacement for cron "at jobs" and "periodic jobs" on Mac OS X.

  • Simple time configuration
  • Generates clean plist XML, which can easily be modified by hand.

Resulting files should be stored in the ~/Library/LaunchAgents folder:

    /Users/__YOU__/Library/LaunchAgents/com.you.launcha.MyJob.plist
Preview or use online at:

http://www.gieson.com/Library/projects/utilities/launcha

Some notes on launchd

Here are a few commands you may need to get setup.

List running jobs
$ launchctl list
Load a job

NOTE: Jobs will automatically be loaded at boot if they reside in the "LaunchAgents" folder.

$ launchctl load ~/Library/LaunchAgents/com.gieson.launcha.MyJob.plist
Unload a job
$ launchctl unload ~/Library/LaunchAgents/com.gieson.launcha.MyJob.plist
Start a job

(use the job Label discovered after listing jobs (not the file name))

$ launchctl start com.gieson.launcha.MyJob.060000-0235-0101-0202-0000X
Stop a job

(use the job Label discovered after listing jobs (not the file name))

$ launchctl stop com.gieson.launcha.MyJob.06000000X