blob: 3ac04325749fea2a864ddfdc9e98082e7636eefe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
MAILTO=sysadmin@qt-project.org
# m h dom mon dow command
# Probe mirrors, ensure they are up
*/5 * * * * /usr/bin/mirrorbrain mirrorprobe
# Scan mirrors for up-to-dateness of content
45 * * * * /usr/bin/mb scan --quiet --jobs 4 --all
# Remove old files from db
30 1 * * mon /usr/bin/mb db vacuum
# Keep in sync with origin
15 * * * * rsync -avr rsync://origin.downloads.qt-project.org/downloads/* /srv/downloads 1>/var/log/rsync.log 2>&1
# Update mirrorlist
10 2 * * * /usr/bin/mb -b main mirrorlist -f xhtml -H /srv/extra/header.inc -B /srv/extra/footer.inc -o /srv/extra/mirrors.html -I /srv/extra/flags/png/ -t "Official Qt Mirrors" -c "Official Qt Mirrors"
#50 2 * * * /home/mirrorbrain/bin/getmap.sh
# Update hashes
15 * * * * /usr/bin/mb makehashes /srv/downloads -t /srv/hashes/srv/downloads #unite into one script w/ above
# Update Geo IP database
31 2 * * mon sleep $(($RANDOM/1024)); /usr/bin/geoip-lite-update
# Update list of ASNs
15 4 * * sat asn_get_routeviews | asn_import
|