]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilelog/templates/default/tilelog.erb
Take yesterday's squid logs for analysis rather than two days ago.
[chef.git] / cookbooks / tilelog / templates / default / tilelog.erb
index 1d9c8b4680216860cb2643a893cfebdb4b16e53f..598c1e127770eaadafcde00f3c3e69227c06db8a 100644 (file)
@@ -4,7 +4,7 @@ ANALYZE=<%= @analyze_bin %>
 LOGDIR=<%= @input_dir %>
 OUTDIR=<%= @output_dir %>
 if [ -z "$DATE" ]; then
-               DATE=`date -d "2 days ago" "+%Y-%m-%d"`
+               DATE=`date -d "1 day ago" "+%Y-%m-%d"`
 fi
 TMPDIR=`mktemp -d -t tmp.XXXXXXXXX`
 ORIGDIR=`pwd`