next fix
This commit is contained in:
@@ -642,8 +642,9 @@ cronjob:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
apk add --no-cache su-exec
|
||||
mkdir -p /etc/crontabs
|
||||
echo "*/1 * * * * su -s /bin/sh -c 'php -f /var/www/html/cron.php' \#33" > /etc/crontabs/root
|
||||
echo "*/1 * * * * su-exec 33:33 php -f /var/www/html/cron.php" > /etc/crontabs/root
|
||||
exec busybox crond -c /etc/crontabs -f -L /dev/stdout
|
||||
|
||||
# Uses a Kubernetes CronJob to execute the Nextcloud cron tasks
|
||||
|
||||
Reference in New Issue
Block a user