Crontab ignores the dash (no log) for system tabs.

This worked in 11.4


/etc/cron.d/mine:
-3,8,13,18,23,28,33,38,43,48,53,58 * * * * news /var/lib/news/bin/cronscriptparanovell

The files there are run by root, so this should apply:

If the uid of the owner is 0 (root), he can put a “-” as first charac-
ter of a crontab entry. This will prevent cron from writing a syslog
message about this command getting executed.

and indeed in 11.4 it worked, but not in 12.1, I get spammed in syslog:


> <9.6> 2012-08-19 22:50:01 Telcontar  7851 - -  (news) CMD (/var/lib/news/bin/cronscriptparanovell)

The only alternative I can think is add a filter in rsyslog to remove them.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

On 2012-08-19 22:58, Carlos E. R. wrote:
>
> This worked in 11.4

I found the problem. I had a duplicate entry in “/var/spool/cron/tabs/news” which had been
unintentionally restored from a previous backup.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)