Fix cron config
This commit is contained in:
parent
022575326b
commit
423e017e3b
@ -8,7 +8,8 @@ RUN set -ex; \
|
||||
bzip2 \
|
||||
busybox-static \
|
||||
; \
|
||||
echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \
|
||||
mkdir -p /var/spool/cron/crontabs; \
|
||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
|
||||
# install the PHP extensions we need
|
||||
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
|
||||
\
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p /var/spool/cron/crontabs
|
||||
|
||||
exec busybox crond -f -l 0 -L /dev/stdout
|
||||
|
@ -8,7 +8,8 @@ RUN set -ex; \
|
||||
bzip2 \
|
||||
busybox-static \
|
||||
; \
|
||||
echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \
|
||||
mkdir -p /var/spool/cron/crontabs; \
|
||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
|
||||
# install the PHP extensions we need
|
||||
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
|
||||
\
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p /var/spool/cron/crontabs
|
||||
|
||||
exec busybox crond -f -l 0 -L /dev/stdout
|
||||
|
@ -8,7 +8,8 @@ RUN set -ex; \
|
||||
bzip2 \
|
||||
busybox-static \
|
||||
; \
|
||||
echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \
|
||||
mkdir -p /var/spool/cron/crontabs; \
|
||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
|
||||
# install the PHP extensions we need
|
||||
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
|
||||
\
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p /var/spool/cron/crontabs
|
||||
|
||||
exec busybox crond -f -l 0 -L /dev/stdout
|
||||
|
@ -8,7 +8,8 @@ RUN set -ex; \
|
||||
bzip2 \
|
||||
busybox-static \
|
||||
; \
|
||||
echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \
|
||||
mkdir -p /var/spool/cron/crontabs; \
|
||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
|
||||
# install the PHP extensions we need
|
||||
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
|
||||
\
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p /var/spool/cron/crontabs
|
||||
|
||||
exec busybox crond -f -l 0 -L /dev/stdout
|
||||
|
@ -8,7 +8,8 @@ RUN set -ex; \
|
||||
bzip2 \
|
||||
busybox-static \
|
||||
; \
|
||||
echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \
|
||||
mkdir -p /var/spool/cron/crontabs; \
|
||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
|
||||
# install the PHP extensions we need
|
||||
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
|
||||
\
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p /var/spool/cron/crontabs
|
||||
|
||||
exec busybox crond -f -l 0 -L /dev/stdout
|
||||
|
Loading…
Reference in New Issue
Block a user