aports/cron/logrotate/daily
2021-06-27 08:03:47 +00:00

8 lines
183 B
Bash

#!/bin/sh
/usr/sbin/logrotate /etc/redxen/logrotate/
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0