updated cron

This commit is contained in:
naturallaw77 2024-12-20 12:22:49 -08:00
parent 017ca5c8f9
commit f498f8d3b7

View File

@ -386,9 +386,12 @@ backup /etc/nix-bitcoin-secrets/ localhost/
services.cron = { services.cron = {
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
"*/5 * * * * caddy /run/current-system/sw/bin/php -f /var/lib/www/nextcloud/cron.php" "*/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/njalla/njalla.sh"
"*/15 * * * * root /run/current-system/sw/bin/bash /var/lib/external_ip/external_ip.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"
]; ];
}; };