From f498f8d3b7e05ff43375694d725bb0ffa041e5de Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 20 Dec 2024 12:22:49 -0800 Subject: [PATCH] updated cron --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 6e55b83..5efa675 100755 --- a/configuration.nix +++ b/configuration.nix @@ -386,9 +386,12 @@ backup /etc/nix-bitcoin-secrets/ localhost/ services.cron = { enable = true; systemCronJobs = [ + "*/5 * * * * caddy /run/current-system/sw/bin/php -f /var/lib/www/nextcloud/cron.php" "*/15 * * * * root /run/current-system/sw/bin/bash /var/lib/njalla/njalla.sh" "*/15 * * * * root /run/current-system/sw/bin/bash /var/lib/external_ip/external_ip.sh" + "0 0 * * 0 /run/current-system/sw/bin/echo y | docker-user /run/current-system/sw/bin/docker system prune -a" + ]; };