Created
May 23, 2013 13:56
-
-
Save chris-piekarski/5636253 to your computer and use it in GitHub Desktop.
Using SSH w/Cron
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
1 5 * * * /bin/bash -l -c -i "source $HOME/.keychain/chis-devpc-sh && /usr/bin/scp -vvv -F /home/chris/.ssh/config -i /home/chris/.ssh/id_rsa db:/var/apps/perch/shared/backups/\* /home/chris/ServerBackups/" > /home/chris/tmp/db_backup_copy_log.cron 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment