You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sysadmins@spamassassin.apache.org by Dave Jones <da...@apache.org> on 2017/05/31 23:27:53 UTC

Re: Cron cd / && run-parts --report /etc/cron.hourly

This is a script I am testing out just for notifications to my email 
address.  I will set it up to be silent now like it should have been. 
:)  The goal of this script is to let me know when the ruleqa 
submissions are not lining up with the current tagged SVN version of 
rules to be masscheck'd.  I want to make sure I have the timing correct 
on all of the cron jobs now.

I have some ideas on how to make this hourly in the future so we could 
speed up testing and promotion of rules fairly easily by getting the 
masscheck submitters to run the automasscheck-minimal.sh script hourly 
after some minor adjustments to that script.  This would require some 
adjustments to the current cron job scripts to add a 
tagged_build/hourly_mass_check dir to the rsync area and some tweaks to 
the current scripts that I have been pouring through the past month or so.

This will be months down the road but I want to learn all of the timing 
and dependencies over the next few weeks to make sure I have everything 
covered.

Dave

On 05/31/2017 06:17 PM, Cron Daemon wrote:
> /etc/cron.hourly/checkMasscheckContribs:
> 
> SVN tagged rev in nightly_mass_check:  1796997
> 
> Corpus total: 120, Old: 84, Recent: 18, New: 18
> 
> New masscheck submission listings:
>     SVN rev (Match) File Name (Date)
>     1796997 (Yes) - spam-darxus.log (May 31 02:10)
>     1796997 (Yes) - ham-darxus.log (May 31 02:10)
>     1796997 (Yes) - ham-grenier.log (May 31 02:02)
>     1796997 (Yes) - ham-ena.log (May 31 08:59)
>     1796997 (Yes) - spam-axb-generic.log (May 31 04:38)
>     1796997 (Yes) - spam-axb-ham-misc.log (May 31 04:38)
>     1796997 (Yes) - spam-grenier.log (May 31 02:02)
>     1796997 (Yes) - ham-axb-ham-misc.log (May 31 04:38)
>     1796997 (Yes) - ham-axb-generic.log (May 31 04:38)
>     1796997 (Yes) - ham-axb-ninja.log (May 31 04:38)
>     1796997 (Yes) - spam-axb-ninja.log (May 31 04:38)
>     1796997 (Yes) - spam-jarif.log (May 31 11:58)
>     1796997 (Yes) - ham-thendrikx.log (May 31 02:03)
>     1796997 (Yes) - ham-jarif.log (May 31 11:58)
>     1796997 (Yes) - spam-axb-coi-bulk.log (May 31 04:38)
>     1796997 (Yes) - spam-thendrikx.log (May 31 02:03)
>     1796997 (Yes) - ham-axb-coi-bulk.log (May 31 04:38)
>     1796997 (Yes) - spam-ena.log (May 31 08:59)
> 
> 18/18 matches
> run-parts: /etc/cron.hourly/checkMasscheckContribs exited with return code 1
> 


Re: Cron cd / && run-parts --report /etc/cron.hourly

Posted by Dave Jones <da...@apache.org>.
I will change it to email sysadmins shortly as soon as I think it's 
ready enough to be meaningful.

Dave

On 05/31/2017 08:08 PM, Kevin A. McGrail wrote:
> Sounds awesome and feel free to spam sysadmins@
> 
> I did not get to look at the other issue but I will.
> Regards,
> KAM
> 
> On May 31, 2017 7:27:53 PM EDT, Dave Jones <da...@apache.org> wrote:
> 
>     This is a script I am testing out just for notifications to my email
>     address.  I will set it up to be silent now like it should have been.
>     :)  The goal of this script is to let me know when the ruleqa
>     submissions are not lining up with the current tagged SVN version of
>     rules to be masscheck'd.  I want to make sure I have the timing correct
>     on all of the cron jobs now.
> 
>     I have some ideas on how to make this hourly in the future so we could
>     speed up testing and promotion of rules fairly easily by getting the
>     masscheck submitters to run theautomasscheck-minimal.sh <http://automasscheck-minimal.sh>  script hourly
>     after some minor adjustments to that script.  This would require some
>     adjustments to the current cron job scripts to add a
>     tagged_build/hourly_mass_check dir to the rsync area and some tweaks to
>     the current scripts that I have been pouring through the past month or so.
> 
>     This will be months down the road but I want to learn all of the timing
>     and dependencies over the next few weeks to make sure I have everything
>     covered.
> 
>     Dave
> 
>     On 05/31/2017 06:17 PM, Cron Daemon wrote:
> 
>         /etc/cron.hourly/checkMasscheckContribs:
> 
>         SVN tagged rev in nightly_mass_check: 1796997
> 
>         Corpus total: 120, Old: 84, Recent: 18, New: 18
> 
>         New masscheck submission listings:
>         SVN rev (Match) File Name (Date)
>         1796997 (Yes) - spam-darxus.log (May 31 02:10)
>         1796997 (Yes) - ham-darxus.log (May 31 02:10)
>         1796997 (Yes) - ham-grenier.log (May 31 02:02)
>         1796997 (Yes) - ham-ena.log (May 31 08:59)
>         1796997 (Yes) - spam-axb-generic.log (May 31 04:38)
>         1796997 (Yes) - spam-axb-ham-misc.log (May 31 04:38)
>         1796997 (Yes) - spam-grenier.log (May 31 02:02)
>         1796997 (Yes) - ham-axb-ham-misc.log (May 31 04:38)
>         1796997 (Yes) - ham-axb-generic.log (May 31 04:38)
>         1796997 (Yes) - ham-axb-ninja.log (May 31 04:38)
>         1796997 (Yes) - spam-axb-ninja.log (May 31 04:38)
>         1796997 (Yes) - spam-jarif.log (May 31 11:58)
>         1796997 (Yes) - ham-thendrikx.log (May 31 02:03)
>         1796997 (Yes) - ham-jarif.log (May 31 11:58)
>         1796997 (Yes) - spam-axb-coi-bulk.log (May 31 04:38)
>         1796997 (Yes) - spam-thendrikx.log (May 31 02:03)
>         1796997 (Yes) - ham-axb-coi-bulk.log (May 31 04:38)
>         1796997 (Yes) - spam-ena.log (May 31 08:59)
> 
>         18/18 matches
>         run-parts: /etc/cron.hourly/checkMasscheckContribs exited with
>         return code 1
> 


Re: Cron cd / && run-parts --report /etc/cron.hourly

Posted by "Kevin A. McGrail" <ke...@mcgrail.com>.
Sounds awesome and feel free to spam sysadmins@

I did not get to look at the other issue but I will.
Regards,
KAM

On May 31, 2017 7:27:53 PM EDT, Dave Jones <da...@apache.org> wrote:
>This is a script I am testing out just for notifications to my email 
>address.  I will set it up to be silent now like it should have been. 
>:)  The goal of this script is to let me know when the ruleqa 
>submissions are not lining up with the current tagged SVN version of 
>rules to be masscheck'd.  I want to make sure I have the timing correct
>
>on all of the cron jobs now.
>
>I have some ideas on how to make this hourly in the future so we could 
>speed up testing and promotion of rules fairly easily by getting the 
>masscheck submitters to run the automasscheck-minimal.sh script hourly 
>after some minor adjustments to that script.  This would require some 
>adjustments to the current cron job scripts to add a 
>tagged_build/hourly_mass_check dir to the rsync area and some tweaks to
>
>the current scripts that I have been pouring through the past month or
>so.
>
>This will be months down the road but I want to learn all of the timing
>
>and dependencies over the next few weeks to make sure I have everything
>
>covered.
>
>Dave
>
>On 05/31/2017 06:17 PM, Cron Daemon wrote:
>> /etc/cron.hourly/checkMasscheckContribs:
>> 
>> SVN tagged rev in nightly_mass_check:  1796997
>> 
>> Corpus total: 120, Old: 84, Recent: 18, New: 18
>> 
>> New masscheck submission listings:
>>     SVN rev (Match) File Name (Date)
>>     1796997 (Yes) - spam-darxus.log (May 31 02:10)
>>     1796997 (Yes) - ham-darxus.log (May 31 02:10)
>>     1796997 (Yes) - ham-grenier.log (May 31 02:02)
>>     1796997 (Yes) - ham-ena.log (May 31 08:59)
>>     1796997 (Yes) - spam-axb-generic.log (May 31 04:38)
>>     1796997 (Yes) - spam-axb-ham-misc.log (May 31 04:38)
>>     1796997 (Yes) - spam-grenier.log (May 31 02:02)
>>     1796997 (Yes) - ham-axb-ham-misc.log (May 31 04:38)
>>     1796997 (Yes) - ham-axb-generic.log (May 31 04:38)
>>     1796997 (Yes) - ham-axb-ninja.log (May 31 04:38)
>>     1796997 (Yes) - spam-axb-ninja.log (May 31 04:38)
>>     1796997 (Yes) - spam-jarif.log (May 31 11:58)
>>     1796997 (Yes) - ham-thendrikx.log (May 31 02:03)
>>     1796997 (Yes) - ham-jarif.log (May 31 11:58)
>>     1796997 (Yes) - spam-axb-coi-bulk.log (May 31 04:38)
>>     1796997 (Yes) - spam-thendrikx.log (May 31 02:03)
>>     1796997 (Yes) - ham-axb-coi-bulk.log (May 31 04:38)
>>     1796997 (Yes) - spam-ena.log (May 31 08:59)
>> 
>> 18/18 matches
>> run-parts: /etc/cron.hourly/checkMasscheckContribs exited with return
>code 1
>>