next fix
This commit is contained in:
@@ -452,8 +452,9 @@ spec:
|
|||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
|
apk add --no-cache su-exec
|
||||||
mkdir -p /etc/crontabs
|
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
|
exec busybox crond -c /etc/crontabs -f -L /dev/stdout
|
||||||
env:
|
env:
|
||||||
- name: POSTGRES_HOST
|
- name: POSTGRES_HOST
|
||||||
|
|||||||
@@ -642,8 +642,9 @@ cronjob:
|
|||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
|
apk add --no-cache su-exec
|
||||||
mkdir -p /etc/crontabs
|
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
|
exec busybox crond -c /etc/crontabs -f -L /dev/stdout
|
||||||
|
|
||||||
# Uses a Kubernetes CronJob to execute the Nextcloud cron tasks
|
# Uses a Kubernetes CronJob to execute the Nextcloud cron tasks
|
||||||
|
|||||||
Reference in New Issue
Block a user