in reply to Re^3: Process Monitoring Madness
in thread Process Monitoring Madness

Hi Corion

I have updated the OP with examples

Thanks

Replies are listed 'Best First'.
Re^5: Process Monitoring Madness
by Corion (Patriarch) on Oct 08, 2018 at 13:11 UTC

    Thanks! I had originally misread/misunderstood your code as I thought it also read the output of the /etc/init.d/* scripts, but it doesn't, so the output of them doesn't really matter.

      Maybe (maybe) there are weird different timezones between your cron job and the interactive jobs? Because I can't get spurious triggers and for me $today is 1 and $dow is 0. Maybe output these values (from cron) to see if they are different there?

        Good suggestion but I have already disproved this - I wonder if the problem is higher up in the init script itself - I shall add some debugging there perhaps