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