diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-08-14 16:05:43 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-08-14 16:06:03 +0200 |
commit | 07d679833d83f76958dc9d9789f8052d2e2a8506 (patch) | |
tree | c30c2a9d1ca766617213c76d7eb674c0ef61df65 | |
parent | 3d5fdbe21a33a29b1e167af1b442bf38de0f9638 (diff) |
More adjustments to the cron file
Change-Id: I532efb74ba85102fbbc67be97165da3b9665c8ae
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
-rw-r--r-- | cron/cron | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,22 +1,21 @@ MAILTO=sysadmin@qt-project.org - # m h dom mon dow command # Probe mirrors, ensure they are up -* * * * * mirrorbrain mirrorprobe +*/5 * * * * /usr/bin/mirrorbrain mirrorprobe # Scan mirrors for up-to-dateness of content -45 * * * * mirrorbrain mb scan --quiet --jobs 4 --all +45 * * * * /usr/bin/mirrorbrain mb scan --quiet --jobs 4 --all # Remove old files from db -30 1 * * mon mirrorbrain mb db vacuum +30 1 * * mon /usr/bin/mirrorbrain 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 +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 * * * * makehashes /srv/downloads -t /srv/hashes/srv/downloads #unite into one script w/ above @@ -24,5 +23,5 @@ MAILTO=sysadmin@qt-project.org # Update Geo IP database 31 2 * * mon sleep $(($RANDOM/1024)); /usr/bin/geoip-lite-update -# Update ASN list -asn_get_routeviews |asn_import +# Update list of ASNs +15 4 * * sat asn_get_routeviews | asn_import |