Remove the root cron file
This commit is contained in:
parent
7739cef929
commit
923f8c434d
@ -9,7 +9,7 @@ RUN set -ex; \
|
|||||||
rsync \
|
rsync \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
mkdir -p /var/spool/cron/crontabs; \
|
rm /var/spool/cron/crontabs/root; \
|
||||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
|
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
|
||||||
|
@ -9,7 +9,7 @@ RUN set -ex; \
|
|||||||
rsync \
|
rsync \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
mkdir -p /var/spool/cron/crontabs; \
|
rm /var/spool/cron/crontabs/root; \
|
||||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
|
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
|
||||||
|
@ -9,7 +9,7 @@ RUN set -ex; \
|
|||||||
rsync \
|
rsync \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
mkdir -p /var/spool/cron/crontabs; \
|
rm /var/spool/cron/crontabs/root; \
|
||||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
|
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
|
||||||
|
@ -9,7 +9,7 @@ RUN set -ex; \
|
|||||||
rsync \
|
rsync \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
mkdir -p /var/spool/cron/crontabs; \
|
rm /var/spool/cron/crontabs/root; \
|
||||||
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user