Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 11, 2012 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NapoleonWils0n/4055987 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/4055987 to your computer and use it in GitHub Desktop.
macosx: timemachine schedule
#!/bin/sh
#The last number is the time interval in seconds, making hours grouped by 3600 second segments.
#If you wanted to wait 4 hours between backups, the number would be 14400, and so on.
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 14400
#The default setting is one hour, or 3600 seconds, which can be restored with:
# sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 3600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment