nextcloud cron

This commit is contained in:
Philip Haupt
2025-11-15 13:49:04 +01:00
parent 79f6ad271e
commit 01ba195787
2 changed files with 10 additions and 2 deletions

View File

@@ -450,7 +450,11 @@ spec:
name: nextcloud-config
subPath: upgrade-disable-web.config.php
- command:
- /cron.sh
- /bin/sh
- -c
- |
echo "*/1 * * * * php -f /var/www/html/cron.php" > /etc/crontabs/www-data
exec busybox crond -f -L /dev/stdout
env:
- name: POSTGRES_HOST
valueFrom:

View File

@@ -639,7 +639,11 @@ cronjob:
# The command the cronjob container executes.
command:
- /cron.sh
- /bin/sh
- -c
- |
echo "*/1 * * * * php -f /var/www/html/cron.php" > /etc/crontabs/www-data
exec busybox crond -f -L /dev/stdout
# Uses a Kubernetes CronJob to execute the Nextcloud cron tasks
# Note: can run as non-root user. Should run as same user as the Nextcloud pod.