/me wonders whether the space in the shebang line is correct : n22 /etc/cron.daily # cat logrotate.cron #! /bin/sh /usr/sbin/logrotate /etc/logrotate.conf
A blank after the shebang is fine.