Does anyone know where STDOUT and STDERR are for crontab to work properly on CentOS?
I checked the file / var / log / cron , but it only records the time and command of the cron job that is running, the contents of STDOUT or STDERR were not found there.
thank!
Take a look
/etc/rsyslog.d/
there you have to change loglevel cron.
#cron.* /var/log/cron.log
delete # = maximum registration
cron.err /var/log/cron.log
error log only