From 31ca53e67352abf87d8518bedb3b9a69d51f3c84 Mon Sep 17 00:00:00 2001 From: serxoz Date: Tue, 25 Oct 2022 10:29:55 +0200 Subject: [PATCH] cambio rutas crontab --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0fee6b..8fe53ac 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,6 @@ Cando recibe un link de baixada: Executase un cron que borra os arquivos que teñan máis de 5 días. ``` -0 0 * * * /usr/bin/find /uploads -type f -mtime +5 -execdir rm -- '{}' \; -0 1 * * * /usr/bin/find /uploads -empty -type d -delete +0 0 * * * /usr/bin/find /home/_sh4rin/uploads/ -type f -mtime +5 -execdir rm -- '{}' \; +0 1 * * * /usr/bin/find /home/_sh4rin/uploads/ -empty -type d -delete ```