HP-UX doesn’t have logrotate.
Write a shell script to run from cron.
Or go to http://hpux.connect.org.uk/ and download logrotate and dependencies
root@hp-ux:/root # cd /tmp/logrotate_hpux
root@hp-ux:/tmp/logrotate_hpux # gunzip *
Install with swinstall
root@hp-ux:/tmp/logrotate_hpux # swinstall -s /tmp/logrotate_hpux/gettext-0.19.5.1-ia64-11.31.depot
root@hp-ux:/tmp/logrotate_hpux # swinstall -s /tmp/logrotate_hpux/libiconv-1.14-ia64-11.31.depot
root@hp-ux:/tmp/logrotate_hpux # swinstall -s /tmp/logrotate_hpux/popt-1.16-ia64-11.31.depot
root@hp-ux:/tmp/logrotate_hpux # swinstall -s /tmp/logrotate_hpux/logrotate-3.9.1-ia64-11.31.depot