D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
etc
/
cron.daily
/
Filename :
logrotate
back
Copy
#!/bin/sh export TMPDIR=/var/spool/logrotate/tmp /usr/sbin/logrotate /etc/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" fi exit $EXITVALUE