ms-cron hourly cron job

Wolfgang Baudler wbaudler at gb.nrao.edu
Thu Oct 27 12:13:26 UTC 2016


> On 10/26/2016 06:09 AM, Wolfgang Baudler wrote:
>> The ms-cron hourly cron job that gets installed with MailScanner-5.0.3-7
>> outputs 2 empty lines each time it is run. This results in an empty cron
>> email from mailscanner every hour and should be fixed.
>
> What are your settings for ms_cron_check and ms_cron_msg_alert in
> /etc/MailScanner/defaults? Mine are both set to 1 and I don't see this.
>

ms_cron_check=1
ms_cron_msg_alert=0

> The only two HOURLY jobs potentially run are /usr/sbin/ms-check and
> /usr/sbin/ms-msg-alert controlled by the ms_cron_check and
> ms_cron_msg_alert settings respectively. On my installation, these
> noramlly produce no output. You could try running them manually to see
> which one is producing output.
>

It is the "/usr/sbin/ms-cron HOURLY" job in /etc/cron.hourly that is
producing the output:
$ /usr/sbin/ms-cron HOURLY


$

Wolfgang




More information about the MailScanner mailing list