I wish to use the following command as a cron job:
/usr/sbin/logrotate /home/xxxx/public_html/cgi-bin/logrotate.conf -f
However the message is:
error: error creating state file /var/lib/logrotate.status: Permission
denied
Is there a way around this?