Hi all,
My OS is the "SUSE Linux Enterprise Server 12 (x86_64)". I've created a user crontab as follow:
Code:
MAILTO=myname@mycom.com
01 01 * * * /usr/sbin/logrotate -l /home/se4711/insign-easy/temp/logrotate.log -s /home/se4711/insign-easy/temp/logrotate.status /home/se4711/insign-easy/conf/logrotate-insign-easy
And the '/home/se4711/insign-easy/conf/logrotate-insign-easy' looks as follow:
Code:
/home/se4711/insign-easy/logs/catalina.out
/home/se4711/insign-easy/logs/*.log
{
compress
dateext
rotate 2
daily
missingok
copytruncate
}
This means, everyday at 01:01 the logs under /home/se4711/insign-easy/logs/ should be zipped and rotated. But it doesn't work.
Can someone help?
Regards