• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..20-Dec-2021-

automc/H03-May-2022-2,6521,953

README.nightlyH A D20-Dec-20211.6 KiB4230

corpus-cleanupH A D20-Dec-20214.5 KiB179135

corpus-hourlyH A D20-Dec-202113.5 KiB524416

corpus-nightlyH A D20-Dec-20212.3 KiB10060

corpus-nightly.post-svnH A D20-Dec-20212.3 KiB11566

corpus-tagtimeH A D20-Dec-2021419 189

corpus.exampleH A D20-Dec-20211.4 KiB5034

get-rulemetadata-for-revisionH A D20-Dec-20212.9 KiB13795

import-logsH A D20-Dec-20213.7 KiB158113

list-bad-rulesH A D20-Dec-20219.3 KiB333211

markup-rules-file-with-freqsH A D20-Dec-2021694 4028

nightly-slave-startH A D20-Dec-20211.7 KiB6236

nightly-slave-stopH A D20-Dec-2021685 3321

nightly-slaves-startH A D20-Dec-202173 73

nightly-slaves-stopH A D20-Dec-202172 73

reports-from-logsH A D20-Dec-202119.4 KiB708506

rule-hits-over-timeH A D20-Dec-202112.7 KiB530391

README.nightly

1Maintainer for this stuff: Daniel Quinlan
2(rather obvious hint, isn't it?)
3
4Scripts to handle running nightly mass-checks and merging results.
5
6Recommended stuff:
7
8 - account to run the nightly/hourly jobs
9
10 - various directories:
11
12   $HOME/scripts                 - the scripts
13   $HOME/log                     - cron job logs
14   $HOME/tmp                     - temporary files and "tagtime" timestamp file
15   $HOME/cvs/spamassassin        - the tree (checked out with the correct tag)
16   $HOME/cvs/spamassassin/corpus - the corpus description (for "mass-check -f")
17
18 - $HOME/.corpus contains various settings, see corpus.example in this
19   directory.
20
21 - A cron job (hours for tagtime and corpus-nightly for your
22   local time, this is US/Pacific, adjust appropriately for your
23   timezone)
24
25   The "tagtime" and "corpus-nightly" cron jobs will automatically handle
26   daylight savings, since cron does not.  They do this by sleeping for 1 hour
27   if they detect that they are run in the 0800-0859 hour. (This means you can
28    "corpus-nightly" any other time of day, if you want).
29
30   The "corpus-hourly" script only needs to be run if you are producing
31   optional mass-check summary reports.
32
33   "pyzor discover" only needs to be run if you are running Pyzor.
34
35------- start of cut text --------------
36PATH=/home/corpus/scripts:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
370 1 * * * corpus-tagtime
3810 1 * * * corpus-nightly >/home/corpus/log/nightly 2>&1
3930 * * * * corpus-hourly >/home/corpus/log/hourly 2>&1
405 1 * * * pyzor discover >/dev/null 2>/dev/null
41------- end ----------------------------
42