Initial commit

This commit is contained in:
jimmy committed 2022-08-14 00:48:34 +12:00
1 parent 750c0c7531
commit 571efc61d7
2 files changed
+12

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
FROM debian
RUN apt-get update && apt-get -y install cron
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
crontab -l ; echo "${SCHEDULE} ${COMMAND} > /proc/1/fd/1 2> /proc/1/fd/2" | crontab
cron -f