diff options
author | francis <francis> | 2009-01-27 21:08:58 +0000 |
---|---|---|
committer | francis <francis> | 2009-01-27 21:08:58 +0000 |
commit | 35954047e1c3ca982473b7928f960e97ae567962 (patch) | |
tree | 66334804cee54abc15eb043811befaea8c4d8cc6 | |
parent | 2c7629de49698e513780bba3131b92fa53728fb9 (diff) |
Only do 3 days.
Enable cron job.
-rwxr-xr-x | script/load-exim-logs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/load-exim-logs b/script/load-exim-logs index d28140ee2..04f4668f6 100755 --- a/script/load-exim-logs +++ b/script/load-exim-logs @@ -9,8 +9,8 @@ then exit fi -# Load in last week's worth of logs (if they've been modified) -LATEST=$( ls /var/log/exim4/exim-main-* 2>/dev/null | sort | tail -7 ) +# Load in last three days worth of logs (if they've been modified) +LATEST=$( ls /var/log/exim4/exim-main-* 2>/dev/null | sort | tail -3 ) for X in $LATEST do echo "doing $X" |