#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0
Monday, July 18, 2011
Subscribe to:
Post Comments (Atom)
random work-related stuff that's useful to me...
0 comments:
Post a Comment