A nightly backup for gocongress.org, using launchd, bash, and heroku pgbackups.
- Install
org.gocongress.backup.plist
in/Library/LaunchDaemons
launchctl load /Library/LaunchDaemons/org.gocongress.backup.plist
To test this script through launchd, run:
sudo launchctl start org.gocongress.backup
http://singlebrook.com/blog/scheduling-a-shell-script-with-launchd