dev-cronie #1

Merged
jblu merged 12 commits from dev-cronie into main 2026-04-08 17:16:01 -05:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit 289c1cac72 - Show all commits
+1 -1
View File
@@ -1,5 +1,5 @@
FROM alpine:latest FROM alpine:latest
COPY . opt COPY . opt
RUN apk add --no-cache supercronic RUN apk add --no-cache cronie
RUN chmod +x /opt/entrypoint.sh RUN chmod +x /opt/entrypoint.sh
CMD ["/opt/entrypoint.sh"] CMD ["/opt/entrypoint.sh"]
+2 -4
View File
@@ -1,7 +1,5 @@
#!/bin/sh #!/bin/sh
CRON_CONFIG_FILE="/opt/crontab" CRON_CONFIG_FILE="/etc/crontabs/root"
echo "${CRON} echo Come in the water is fine. >/dev/null" > $CRON_CONFIG_FILE echo "${CRON} echo "Come in the water is fine!" > /opt/output.log" > $CRON_CONFIG_FILE
exec supercronic -passthrough-logs -quiet $CRON_CONFIG_FILE