aports/cron/logrotate/daily

8 lines
183 B
Plaintext
Raw Normal View History

2021-06-27 08:03:47 +00:00
#!/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