Instantly share code, notes, and snippets.

What would you like to do?
Sample Mac OS X `launchd` script to run DITA builds once at 9AM and every hour thereafter
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<key>StartCalendarInterval</key><!-- ◄ Start job at specified times -->
<integer>9</integer> <!-- ◄ Start at 09:00 AM -->
<key>StartInterval</key> <!-- ◄ Start job in regular intervals -->
<integer>3600</integer> <!-- ◄ Start every 3600 seconds (1 h) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment