nextcloud cron
This commit is contained in:
@@ -450,7 +450,11 @@ spec:
|
|||||||
name: nextcloud-config
|
name: nextcloud-config
|
||||||
subPath: upgrade-disable-web.config.php
|
subPath: upgrade-disable-web.config.php
|
||||||
- command:
|
- 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:
|
env:
|
||||||
- name: POSTGRES_HOST
|
- name: POSTGRES_HOST
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
@@ -639,7 +639,11 @@ cronjob:
|
|||||||
|
|
||||||
# The command the cronjob container executes.
|
# The command the cronjob container executes.
|
||||||
command:
|
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
|
# 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.
|
# Note: can run as non-root user. Should run as same user as the Nextcloud pod.
|
||||||
|
|||||||
Reference in New Issue
Block a user