Re: [DNG] Help: Cron daily didn't run

2021-12-21 Thread tito via Dng
On Tue, 21 Dec 2021 13:53:48 +0100
Alessandro Vesely via Dng  wrote:

> Hi all,
> 
> Yesterday I upgraded and then rebooted.
> 
> how come cron daily didn't run?  I have an entry in crontab saying:
> 
> 47 4 * * 7 root   test -x /usr/sbin/anacron || ( cd / && run-parts 
> --report /etc/cron.weekly )

Hi,

crontab guru
The quick and simple editor for cron schedule expressions by Cronitor
“At 04:47 on Sunday.”
next at 2021-12-26 04:47:00

Maybe this means weekly?

Ciao,
Tito

> 
> The cron.log just says nothing around 4:47:
> 
> Dec 21 04:09:01 78 north CRON[6746]: (root) CMD (  [ -x 
> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
> /usr/lib/php/sessionclean; fi)
> Dec 21 04:39:01 78 north CRON[7485]: (root) CMD (  [ -x 
> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
> /usr/lib/php/sessionclean; fi)
> Dec 21 04:45:01 78 north CRON[7701]: (clamav) CMD ([ -x 
> /usr/sbin/clamav-unofficial-sigs ] && /usr/sbin/clamav-unofficial-sigs)
> Dec 21 05:08:01 78 north CRON[8300]: (courier) CMD 
> (/export/mail/honeypot/bot-report.sh)
> 
> Those entries come from /etc/cron.d snippets.  It seems that cron doesn't run 
> any more crontab entries since the reboot.  Only entries in /etc/cron.d.
> 
> /etc/crontab didn't change.
> 
> 
> What is going wrong?
> 
> 
> TIA for any hint
> Ale
> --
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help: Cron daily didn't run

2021-12-21 Thread Antony Stone
On Tuesday 21 December 2021 at 13:53:48, Alessandro Vesely via Dng wrote:

> Hi all,
> 
> Yesterday I upgraded and then rebooted.
> 
> how come cron daily didn't run?

No idea - when is it supposed to run?

> I have an entry in crontab saying:
> 
> 47 4 * * 7 root   test -x /usr/sbin/anacron || ( cd / && run-parts 
> --report
> /etc/cron.weekly )

That's cron.weekly, and will only run on Sundays.


Antony.

-- 
"It wouldn't be a good idea to talk about him behind his back in front of 
him."

 - murble

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Help: Cron daily didn't run

2021-12-21 Thread Alessandro Vesely via Dng

Hi all,

Yesterday I upgraded and then rebooted.

how come cron daily didn't run?  I have an entry in crontab saying:

47 4 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report 
/etc/cron.weekly )

The cron.log just says nothing around 4:47:

Dec 21 04:09:01 78 north CRON[6746]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] 
&& if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Dec 21 04:39:01 78 north CRON[7485]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] 
&& if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Dec 21 04:45:01 78 north CRON[7701]: (clamav) CMD ([ -x 
/usr/sbin/clamav-unofficial-sigs ] && /usr/sbin/clamav-unofficial-sigs)
Dec 21 05:08:01 78 north CRON[8300]: (courier) CMD 
(/export/mail/honeypot/bot-report.sh)

Those entries come from /etc/cron.d snippets.  It seems that cron doesn't run 
any more crontab entries since the reboot.  Only entries in /etc/cron.d.

/etc/crontab didn't change.


What is going wrong?


TIA for any hint
Ale
--











___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng