Skip to content

Instantly share code, notes, and snippets.

@marvin-marvin
Last active June 24, 2019 11:28
Show Gist options
  • Save marvin-marvin/43f90c424e732bc6561bc56f5f3a8383 to your computer and use it in GitHub Desktop.
Save marvin-marvin/43f90c424e732bc6561bc56f5f3a8383 to your computer and use it in GitHub Desktop.
rclone blog crontab
# make sure crontab is used
@reboot /usr/bin/crontab /etc/cron.d/crontab
#*/15 * * * * /usr/bin/crontab /etc/cron.d/crontab
# ENV
SHELL=/bin/bash
# min,hour,dayOfMonth,month,dayOfWeek
30 12 * * * /usr/bin/rclone sync -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse blog_ftp:www gdrive:_backups/blog_ftp > /proc/1/fd/1 2>/proc/1/fd/2
# An empty line is required at the end of this file for a valid cron file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment