1753510 Members
5756 Online
108795 Solutions
New Discussion

Re: Logrotate is failing

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: Logrotate is failing

>SEP: cron for Linux has a default PATH. Not so in HP-UX

crontab(1) has a stripped down default path: PATH=/usr/bin:/usr/sbin:.
Miguel Silva Rentes
Regular Advisor

Re: Logrotate is failing

Hi Dennis,

Putting the PATH environment variable did solve my problem! I now have a working logrotate that rotates and compress my logs.

Thank you very much!

Best regards,

Miguel Rentes