I have one cron job which has to run every other minute as root user. Cron
now creates a logentry every time this script is executed - which (in this
case) is unnecessary and it completely trashes my logfile.
The log entry in /var/log/messages looks like
Nov 14 12:46:00 Heraklith /USR/SBIN/CRON: (root) CMD (
/usr/scripts/checkinternet >/dev/null 2>&1)
Well - 95% of my logfile look like this :-(
My crontab looks like:
*/2 * * * * root /usr/scripts/checkinternet >/dev/null 2>&1
Is there any possibility to prevent cron to log the execution of this (and
only this) script?
Thanks in advance for any tip,
P.S: To prevent some confusion like the last time I posted this: I want to
prevent logging the _execution_ of this script - I dont care about the
_output_ of this script!