Created
April 10, 2014 03:45
-
-
Save johndavid400/10340969 to your computer and use it in GitHub Desktop.
cron job - rsync remote, every night at 11pm
This file contains hidden or 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
* 23 * * * rsync -av --delete -e 'ssh -p22' /home/user/source_directory user@hostname:~/home/user/remote_directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment