+
+template "/usr/local/bin/backup-nominatim" do
+ source "backup-nominatim.erb"
+ owner "root"
+ group "root"
+ mode 0755
+end
+
+cron "nominatim_backup" do
+ hour "3"
+ minute "00"
+ day "1"
+ command "/usr/local/bin/backup-nominatim"
+ user "nominatim"
+ mailto email_errors
+end