X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f983bc8f7682ae60c8f32284ee25b25aa40ba2d8..8724d4f9c9bf439e5dc28a05f04c1a80ca7498c4:/cookbooks/tilecache/templates/default/tilecache-curl-time.erb 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 \