X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f983bc8f7682ae60c8f32284ee25b25aa40ba2d8..539dbe9f74466a7ec90ea7cbfb9bc8b49911551d:/cookbooks/tilecache/templates/default/tilecache-curl-time.erb?ds=sidebyside diff --git a/cookbooks/tilecache/templates/default/tilecache-curl-time.erb b/cookbooks/tilecache/templates/default/tilecache-curl-time.erb index 0c4f53268..6abd2ea93 100644 --- a/cookbooks/tilecache/templates/default/tilecache-curl-time.erb +++ b/cookbooks/tilecache/templates/default/tilecache-curl-time.erb @@ -1,4 +1,5 @@ #!/bin/bash +sleep $[ ( $RANDOM % 20 ) + 1 ] mkdir -p /srv/tilecache/data/$(date --utc "+%Y/%m") # localhost curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \