Skip to content

Instantly share code, notes, and snippets.

@hariadi
Created October 3, 2013 08:17
Show Gist options
  • Save hariadi/6806825 to your computer and use it in GitHub Desktop.
Save hariadi/6806825 to your computer and use it in GitHub Desktop.
rsync syslog every day at 4:30 AM
/bin/echo "Attempting to rsync" >> /path/rsync.log
30 4 * * * rsync -avz /var/log/syslog.2.gz root@<remote-ip>:/path/vendor/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment