nextcloud cron
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user