Skip to content

Instantly share code, notes, and snippets.

@marvin-marvin
Last active June 24, 2019 11:34
Show Gist options
  • Save marvin-marvin/fcc2c4ec869304dba5fc21f4204f7500 to your computer and use it in GitHub Desktop.
Save marvin-marvin/fcc2c4ec869304dba5fc21f4204f7500 to your computer and use it in GitHub Desktop.
rclone b2 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
# Marvin
00 07 */3 * * /usr/bin/rclone copy -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 gdrive-marvin:Marvin b2:gdrive-23d237d8y7d8y/Marvin > /proc/1/fd/1 2>/proc/1/fd/2
00 19 10 * * /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 gdrive-marvin:Marvin b2:gdrive-23d237d8y7d8y/Marvin > /proc/1/fd/1 2>/proc/1/fd/2
# Marvin-Mac
00 10 */3 * * /usr/bin/rclone copy -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 gdrive-marvin-computers: b2:gdrive-23d237d8y7d8y/Marvin-Mac > /proc/1/fd/1 2>/proc/1/fd/2
00 20 10 * * /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 gdrive-marvin-computers: b2:gdrive-23d237d8y7d8y/Marvin-Mac > /proc/1/fd/1 2>/proc/1/fd/2
# Jule & Marvin
30 19 */4 * * /usr/bin/rclone copy -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 gdrive-marvin:"Jule & Marvin" b2:"gdrive-23d237d8y7d8y/Jule & Marvin" > /proc/1/fd/1 2>/proc/1/fd/2
30 12 11 * * /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 gdrive-marvin:"Jule & Marvin" b2:"gdrive-23d237d8y7d8y/Jule & Marvin" > /proc/1/fd/1 2>/proc/1/fd/2
# Jule
00 23 */4 * * /usr/bin/rclone copy -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 gdrive-jule:Jule b2:gdrive-23d237d8y7d8y/Jule > /proc/1/fd/1 2>/proc/1/fd/2
00 11 11 * * /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 gdrive-jule:Jule b2:gdrive-23d237d8y7d8y/Jule > /proc/1/fd/1 2>/proc/1/fd/2
# Jule-Mac
00 17 */3 * * /usr/bin/rclone copy -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 gdrive-jule-computers: b2:gdrive-23d237d8y7d8y/Jule-Mac > /proc/1/fd/1 2>/proc/1/fd/2
00 04 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 gdrive-jule-computers: b2:gdrive-23d237d8y7d8y/Jule-Mac > /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