Created
November 11, 2012 19:28
-
-
Save NapoleonWils0n/4055987 to your computer and use it in GitHub Desktop.
macosx: timemachine schedule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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