+
+template "/usr/local/bin/old-planet-file-cleanup" do
+ source "old-planet-file-cleanup.erb"
+ owner "root"
+ group "root"
+ mode "755"
+end
+
+cron_d "old-planet-file-cleanup" do
+ comment "run this on the first monday of the month at 3:44am"
+ minute "44"
+ hour "3"
+ day "1-7"
+ user "www-data"
+ command "test $(date +\%u) -eq 1 && /usr/local/bin/old-planet-file-cleanup --debug"
+ mailto "zerebubuth@gmail.com"
+end