Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using SSH w/Cron
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