Commit 468da055 authored by Nick Bearson's avatar Nick Bearson
Browse files

some changes to rotate logs daily

parent 876dc8a6
# mondays @ 02:01, rotate the logs # daily @ 02:01, rotate the logs
1 2 * * 1 logrotate -f /home/eodn/eodn2realearth/conf/logrotate.conf -s /home/eodn/eodn2realearth/logs/rotate.status 1 2 * * * /usr/sbin/logrotate -f /home/eodn/eodn2realearth/conf/logrotate.conf -s /home/eodn/eodn2realearth/logs/rotate.status
# mondays @ 01:01, purge old files # daily @ 01:01, purge old files
1 1 * * 1 /home/eodn/eodn2realearth/src/purge.sh 1 1 * * * /home/eodn/eodn2realearth/src/purge.sh
compress compress
/home/eodn/eodn2realearth/logs/*.log { /home/eodn/eodn2realearth/logs/*.log {
rotate 5 rotate 7
weekly daily
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment