[PLUG] cron.daily script stopped running

Russell Johnson russ at dimstar.net
Mon Jul 21 21:27:55 UTC 2014


On Jul 21, 2014, at 1:10 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:

> On Mon, 21 Jul 2014, Russell Johnson wrote:
> 
>> Alternatively, make sure the /etc/aliases file has your email address in
>> it for root. The second part of that if/then/else will then work.
> 
> Russell,
> 
>   Yep, it does. And logwatch.pl hasn't changed since the distribution
> upgrade last October.
> 
>   The other files in /etc/cron.daily, specifically 1pflogsumm, run each
> morning so it makes no sense that 0logwatch@ does not run.

Hmm. You could put a print statement in there that writes something to a file somewhere as the first thing, prior to any other processing… But that might not work either because cron usually does not inherit the users environment unless you tell it to. 

Russell Johnson
russ at dimstar.net






More information about the PLUG mailing list