Create a gist now

Instantly share code, notes, and snippets.

Launch Agent plist file to launch the cleanupdesktop.sh script every day at 9:30.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.cleanupdesktop</string>
<key>Program</key>
<string>/Users/chadarmstrong/Projects/cleanupdesktop.sh</string>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>09</integer>
<key>Minute</key>
<integer>30</integer>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment