From e7daae10f771b6270f87de4e9ae0f27d785b93be Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jul 16 2022 19:28:33 +0000 Subject: batcave: pdr cleanup cron needs a / so it does not try and remove the directory Signed-off-by: Kevin Fenzi --- diff --git a/roles/batcave/files/pdr.cron b/roles/batcave/files/pdr.cron index cbccd33..8b88f93 100644 --- a/roles/batcave/files/pdr.cron +++ b/roles/batcave/files/pdr.cron @@ -1 +1 @@ -0 12 * * * root /usr/bin/find /srv/web/infra/pdr -ctime +7 -print0 | xargs -0 rm -f +0 12 * * * root /usr/bin/find /srv/web/infra/pdr/ -ctime +7 -print0 | xargs -0 rm -f