X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/69576ff2b0e2684640d2985e59dc2d21e91facfd..0751a4f9434ce69a40996fbec967501fe43e4f83:/cookbooks/tilelog/recipes/default.rb diff --git a/cookbooks/tilelog/recipes/default.rb b/cookbooks/tilelog/recipes/default.rb index 56d7870f3..4d3ddb512 100644 --- a/cookbooks/tilelog/recipes/default.rb +++ b/cookbooks/tilelog/recipes/default.rb @@ -82,11 +82,12 @@ template "/usr/local/bin/tilelog" do :output_dir => tilelog_output_directory end -template "/etc/cron.d/tilelog" do - source "tilelog.cron.erb" - owner "root" - group "root" - mode 0o644 +cron_d "tilelog" do + minute "17" + hour "22" + user "www-data" + command "/usr/local/bin/tilelog" + mailto "zerebubuth@gmail.com" end # resources related to the output of the analysis and where it