From 289c1cac72f2f17a4d7cc447a58b3088a146d76d Mon Sep 17 00:00:00 2001 From: jblu Date: Wed, 8 Apr 2026 12:26:38 -0500 Subject: [PATCH] adjusted cron --- Dockerfile | 2 +- entrypoint.sh | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd9ccb4..fa6627a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:latest COPY . opt -RUN apk add --no-cache supercronic +RUN apk add --no-cache cronie RUN chmod +x /opt/entrypoint.sh CMD ["/opt/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index a09eb11..391b7aa 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,5 @@ #!/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 - -exec supercronic -passthrough-logs -quiet $CRON_CONFIG_FILE \ No newline at end of file +echo "${CRON} echo "Come in the water is fine!" > /opt/output.log" > $CRON_CONFIG_FILE \ No newline at end of file