From e7daae10f771b6270f87de4e9ae0f27d785b93be Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 16 Jul 2022 12:28:33 -0700 Subject: [PATCH] batcave: pdr cleanup cron needs a / so it does not try and remove the directory Signed-off-by: Kevin Fenzi --- roles/batcave/files/pdr.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/batcave/files/pdr.cron b/roles/batcave/files/pdr.cron index cbccd3304b..8b88f93aa4 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