I have found documentation on IBM site on the proper configuration of the /etc/cronlog.conf file, and I have set it up almost identical to one of their examples. I restarted cron (killed the process, it restarted automatically), and nothing happened. I waited over night and the cron log file /var/adm/cron/log still did not get trimmed and archived.
I couldn’t find any indication on how often cron checks the log file size, and performs the maintenance.
Does anyone know what, if anything, I am doing wrong?
/etc/cronlog.conf —
logfile=/var/adm/cron/log
size=1m
rotate=4
archive=/tmp/cronlog
compress
Thanks in advance