mirror-env/roles/mirror/templates/cron/csc-mirror

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-09-12 00:22:24 -04:00
# /etc/cron.d/csc-mirror: mirror cron jobs
2021-09-17 16:42:15 -04:00
# MAILTO=ztseguin@csclub.uwaterloo.ca
2021-09-12 00:22:24 -04:00
# m h dom mon dow user command
# reprepro incoming
*/10 * * * * root /srv/debian/bin/rrr-incoming cron
# reprepro mirroring
5 */4 * * * root /srv/debian/bin/rrr-update cron
# regenerate mirror index at 5:40 am on 14th & 28th of every month
# feel free to run this manually if you've added or removed an
# archive or some such thing
#
# Documented here: http://wiki.csclub.uwaterloo.ca/Mirror#Index
#
# ztseguin - temporarilly disabled until script can be updated to handle symlink farm
# 40 5 */14 * * mirror cd /home/mirror/mirror-index && /home/mirror/mirror-index/make-index.py
2021-09-17 16:42:15 -04:00
# 30 3 * * 0 mirror cd /home/mirror/mirror-index && /home/mirror/mirror-index/make-index.py
2021-09-12 00:22:24 -04:00
# Update index hourly
0 * * * * mirror cd /home/mirror/mirror-index && /home/mirror/mirror-index/make-index.py
0 * * * * mirror /home/mirror/bin/zfssync csclub >/home/mirror/merlin/logs/zfssync-csclub 2>/dev/null
0 * * * * mirror /home/mirror/bin/zfssync wics >/home/mirror/merlin/logs/zfssync-wics 2>/dev/null