My goal is to rotate the access log so that it rotates every 24 hours.
The path to the binaries is /usr/freeware/apache/sbin
and the path to the logs is /usr/freeware/var/log
Where I am struggling is with my command:
"|/usr/freeware/apache/sbin/rotatelogs /usr/freeware/var/log/access_log 86400"
Does my script look correct?
How do I get Apache to execute or recognise this command?
Best regards
The path to the binaries is /usr/freeware/apache/sbin
and the path to the logs is /usr/freeware/var/log
Where I am struggling is with my command:
"|/usr/freeware/apache/sbin/rotatelogs /usr/freeware/var/log/access_log 86400"
Does my script look correct?
How do I get Apache to execute or recognise this command?
Best regards