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

32 lines
1.3 KiB
Plaintext

# # /etc/cron.d/csc-mirror: mirror cron jobs
#
# MAILTO=ztseguin@csclub.uwaterloo.ca
#
# # m h dom mon dow user command
#
# # UPS Health
# * * * * * mirror /usr/bin/flock -w 0 /tmp/ups-status.lock /bin/bash -c "/usr/local/bin/ups-status >/mirror/root/ups 2>/dev/null" 2>/dev/null
#
# # 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
# # 30 3 * * 0 mirror cd /home/mirror/mirror-index && /home/mirror/mirror-index/make-index.py
# uncomment
#
# # 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