Bug 1220278

Summary: On Slowroll the user crontab entries are never gets executed
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dr. Werner Fink <werner>
Component: BasesystemAssignee: Danilo Spinella <danilo.spinella>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: danilo.spinella, mseben, per
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dr. Werner Fink 2024-02-23 13:34:42 UTC
As subject says:

 texlive/2024> crontab -l
 SHELL=/bin/sh
 MAILTO=werner@suse.de
 3 0 * * *       /usr/src/werner/texlive/2024/cron

but never gets executed:

 texlive/2024> sudo journalctl -b 0 --unit cron.service | grep werner
 Feb 13 10:14:01 noether cron[1718]: (werner) RELOAD (/var/spool/cron/tabs/werner)
 Feb 13 10:24:01 noether cron[1718]: (werner) RELOAD (/var/spool/cron/tabs/werner)

PLEASE fix that
Comment 1 Danilo Spinella 2024-03-11 15:06:02 UTC
(In reply to Dr. Werner Fink from comment #0)
> As subject says:
> 
>  texlive/2024> crontab -l
>  SHELL=/bin/sh
>  MAILTO=werner@suse.de
>  3 0 * * *       /usr/src/werner/texlive/2024/cron
> 
> but never gets executed:
> 
>  texlive/2024> sudo journalctl -b 0 --unit cron.service | grep werner
>  Feb 13 10:14:01 noether cron[1718]: (werner) RELOAD
> (/var/spool/cron/tabs/werner)
>  Feb 13 10:24:01 noether cron[1718]: (werner) RELOAD
> (/var/spool/cron/tabs/werner)
> 
> PLEASE fix that

Hello and thank you for the report. Unfortunately, I cannot reproduce this issue locally. Is your crontab using run-parts? (`sudo grep run-parts /etc/crontab`).
Comment 2 Danilo Spinella 2024-03-11 15:10:46 UTC
Nevermind, the run-parts is not relevant here. Can you please add a dummy script to run in the crontab?
Comment 3 Dr. Werner Fink 2024-03-12 09:01:03 UTC
After a `zypper dup` it works now!

Mar 12 00:03:00 noether cron[30262]: pam_unix(crond:session): session opened for user werner(uid=223) by (uid=0)
Mar 12 00:03:00 noether CRON[30263]: (werner) CMD (/usr/src/werner/texlive/2024/cron)
Mar 12 00:03:00 noether sendmail[30265]: 42BN30Tj030265: Authentication-Warning: noether.nue2.suse.org: werner set sender to werner@suse.de using -f
Mar 12 00:05:22 noether sendmail[30265]: 42BN30Tj030265: from=werner@suse.de, size=4257, class=-60, nrcpts=1, msgid=<202403112303.42BN30Tj030265@noether.nue2.suse.org>, relay=werner@localhost
Mar 12 00:05:24 noether sendmail[30265]: 42BN30Tj030265: to=werner@suse.de, ctladdr=werner@suse.de (223/50), delay=00:02:24, xdelay=00:00:02, mailer=relay, pri=142257, relay=[127.0.0.1] [127.0.0.1>
Mar 12 00:05:24 noether CRON[30262]: (werner) CMDEND (/usr/src/werner/texlive/2024/cron)
Mar 12 00:05:24 noether CRON[30262]: pam_unix(crond:session): session closed for user werner