[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Changes to the lintian crontab - 2 runs a day now



Hi,

Given the new possibility of making lintian process its backlog
/without/ generating reports, I have now added one more "run" in the
crontab.  The crontab is now basically:

 * 11:55 UTC - harness -i --no-generate-reports
 * 23:55 UTC - harness -i (--generate-reports)

(See attached file for the actual crontab)

At the same time, I have raised the process limit from 4096 to 8192 as
lintian is now (depending on exact worklist) capable of processing 8192
within the allocated 4 hours per run.


Like the "good old days", there are still no locking.  However, the
worst that can happen is that lintian ends up processing packages twice
in a row.  Compare that with the old days, where the two lintian
processes would corrupt the lab and other "fun stuff".

Thanks,
~Niels

# THIS FILE IS STORED AS /srv/lintian.debian.org/etc/cron
# - permanent changes to it should be done in that file and then
#   run "sudo -ulintian crontab /srv/lintian.debian.org/etc/cron" to commit
#   - This makes it harder to forget to back it up.
#
# m h  dom mon dow   command

# Incremental run + reports starts at 23:55 UTC
55 23 * * *    cd /srv/lintian.debian.org && lintian/reporting/harness -i --schedule-limit-groups 8192 2>&1 | mail -E -s "Cron <lintian@lilburn> lintian/reporting/harness -i" lintian-maint@debian.org -- -r lintian-maint@debian.org -F "Lintian Cron Output" && /usr/local/bin/static-update-component lintian.debian.org >logs/static-update-component.log 2>&1

# Incremental run *without* report generation at 11:55 UTC
55 11 * * *    cd /srv/lintian.debian.org && lintian/reporting/harness --no-generate-reports -i --schedule-limit-groups 8192 2>&1 | mail -E -s "Cron <lintian@lilburn> lintian/reporting/harness --no-generate-reports -i" lintian-maint@debian.org -- -r lintian-maint@debian.org -F "Lintian Cron Output"

Reply to: