Send cron to script

This commit is contained in:
Alexandre
2021-04-07 19:29:55 +02:00
committed by GitHub
parent 06fe139792
commit 7c7d41b229

View File

@@ -47,8 +47,8 @@ RUN \
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
# analyse local devices at reboot
# && sed -i '$d' /etc/crontabs/root \
&& sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
&& sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root \
# && sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
# && sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root \
# correct url paths
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g'