Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
etc
/
cron.daily
Upload
3 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
logrotate
189 B
-rwxr-xr-x
2018-01-04 11:58:46
Edit
Del
Editing: logrotate
(189 B)
Path: /etc/cron.daily/logrotate
Back
#!/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 $EXITVALUE