X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d5c4026bf1afc48c3777d354efba6f8fad7581ec..3ea17725313548ea7639a3790b446eaf6f965270:/cookbooks/planet/templates/default/old-planet-file-cleanup.cron.erb diff --git a/cookbooks/planet/templates/default/old-planet-file-cleanup.cron.erb b/cookbooks/planet/templates/default/old-planet-file-cleanup.cron.erb index 3871d9dfb..f3983cbdd 100644 --- a/cookbooks/planet/templates/default/old-planet-file-cleanup.cron.erb +++ b/cookbooks/planet/templates/default/old-planet-file-cleanup.cron.erb @@ -1,4 +1,4 @@ # DO NOT EDIT - This file is being maintained by Chef MAILTO=zerebubuth@gmail.com # run this on the first monday of the month at 3:44am -44 3 1-7 * mon www-data /usr/local/bin/old-planet-file-cleanup --dry-run --debug +44 3 1-7 * * www-data test $(date +\%u) -eq 1 && /usr/local/bin/old-planet-file-cleanup --dry-run --debug