recipes: tools/logrotate: Added version 3.18.0
[dragora.git] / archive / logrotate / logrotate.cron
blobe7aec679809c98edea4e44e04387f4249364d4d1
1 #! /bin/sh -
3 # /etc/cron.daily/logrotate - Rotates system logs periodically.
6 /usr/sbin/logrotate /etc/logrotate.conf
7 status=$?
9 if test $status -ne 0
10 then
11 /usr/bin/logger \
12 -t logrotate "ALERT exited abnormally with exit status $status"
14 exit $status