In most GNU/Linux distributions the default is to log start (and many different events) of every cron job to syslog. It's rather convenient, but not for a very frequent jobs, which started, say, every 1 minute.
I know how to redirect all cron jobs events to a different log via /etc/rsyslog.conf
(*.*;cron,auth,authpriv.none -/var/log/syslog
) and it's easy to heavily restrict the logging to, say, just error events via /etc/default/cron
(EXTRA_OPTS="-L 4"
). But this affect all of cron jobs.
What if I want to restrict the logging of certain cron jobs (said frequent every-1-minute jobs)? Is it possible to set this up via /etc/rsyslog.conf
or in /etc/crontab
itself? The system is Debian 8.0 Jessie.