This file contains hidden or 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
# 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 | |
00 * * * * echo "######################################################" > /proc/1/fd/1 2>/proc/1/fd/2 && echo "################## `date +\%F-\%H:\%M` ##################" > /proc/1/fd/1 2>/proc/1/fd/2 && echo "######################################################" > /proc/1/fd/1 2>/proc/1/fd/2 && /usr/local/bin/speedtest --bytes --secure > /proc/1/fd/1 2>/proc/1/fd/2 |
This file contains hidden or 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
# 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 | |
ETCDCTL_API=3 | |
# min,hour,dayOfMonth,month,dayOfWeek | |
00 02 * * * cd /root/etcd-backup && mkdir -p `date +\%F` && cd `date +\%F` && /bin/etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save etcd-snapshot-`date +\%F`.db > /proc/1/fd/1 2>/proc/1/fd/2 && tar -zcvf etc-kubernetes.tar.gz /etc/kubernetes > /proc/1/fd/1 2>/proc/1/fd/2 && mv etc-kubernetes.tar.gz etc-kubernetes-`date +\%F`.tar.gz && /usr/bin/rclone copy -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=100 --checkers=50 --retries=20 --transfers=10 --drive-acknowledge-abuse local:/root/etcd-backup/`date +\%F` gdrive:_backups/etcd_master/`date +\%F` > /proc/1/fd/1 2>/proc/1/fd/2 |
This file contains hidden or 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
# 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 | |
00 02 * * * cd /root/github-backup && mkdir `date +\%F` && cd `date +\%F` && /workdir/github-backup.sh |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
# 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 | |
00 13 * * * /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 cumulus:mklingspohn-backup-bt/beautyandthetech gdrive:_backups/BackWPup > /proc/1/fd/1 2>/proc/1/fd/2 |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
# 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 | |
15 14 */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 cumulus-encrypt:mklingspohn-backup/Marvin > /proc/1/fd/1 2>/proc/1/fd/2 |
This file contains hidden or 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
# 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 | |
30 18 */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:Marvin s3:mklingspohn-backup/Marvin > /proc/1/fd/1 2>/proc/1/fd/2 |
This file contains hidden or 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
# 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 | |
00 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 website_ftp:html gdrive:_backups/website_ftp > /proc/1/fd/1 2>/proc/1/fd/2 |
This file contains hidden or 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
# insert in ~/.ssh/config | |
Host github.com | |
IdentityFile ~/.ssh/github_only_rsa | |
StrictHostKeyChecking no |