Initial commit
This commit is contained in:
parent
750c0c7531
commit
571efc61d7
|
@ -0,0 +1,8 @@
|
||||||
|
FROM debian
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y install cron
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
crontab -l ; echo "${SCHEDULE} ${COMMAND} > /proc/1/fd/1 2> /proc/1/fd/2" | crontab
|
||||||
|
cron -f
|
Loading…
Reference in New Issue