v0.1.7
What's new:
- Supercronic can now verify the syntax of a crontab without running it via the
-test
flag. - Supercronic can now optionally allow overlapping jobs via the
-overlapping
flag, by @pavel-popov. - Supercronic now reloads its configuration upon receiving
SIGUSR2
, by @Magnum5234. - Supercronic now supports routing errors to Sentry via the
-sentry-dsn
flag, by @cpnielsen. - Supercronic now supports splitting logs across stdout and stderr via the
-split-logs
flag, by @katsew.
Installation Instructions
supercronic-linux-amd64
Add the following stanza to your Dockerfile to install supercronic-linux-amd64
.
You will need to install curl
beforehand.
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.7/supercronic-linux-amd64 \
SUPERCRONIC=supercronic-linux-amd64 \
SUPERCRONIC_SHA1SUM=bbdb75e8b0892b700b2c3ca480c729285ce83efd
RUN curl -fsSLO "$SUPERCRONIC_URL" \
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \
&& chmod +x "$SUPERCRONIC" \
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic
supercronic-linux-386
Add the following stanza to your Dockerfile to install supercronic-linux-386
.
You will need to install curl
beforehand.
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.7/supercronic-linux-386 \
SUPERCRONIC=supercronic-linux-386 \
SUPERCRONIC_SHA1SUM=29793d6a10fc3af2f7450d25093650541a2293af
RUN curl -fsSLO "$SUPERCRONIC_URL" \
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \
&& chmod +x "$SUPERCRONIC" \
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic
supercronic-linux-arm
Add the following stanza to your Dockerfile to install supercronic-linux-arm
.
You will need to install curl
beforehand.
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.7/supercronic-linux-arm \
SUPERCRONIC=supercronic-linux-arm \
SUPERCRONIC_SHA1SUM=3318a5fbdbb1ecf76dfefa4344daaa0c8093162a
RUN curl -fsSLO "$SUPERCRONIC_URL" \
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \
&& chmod +x "$SUPERCRONIC" \
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic
supercronic-linux-arm64
Add the following stanza to your Dockerfile to install supercronic-linux-arm64
.
You will need to install curl
beforehand.
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.7/supercronic-linux-arm64 \
SUPERCRONIC=supercronic-linux-arm64 \
SUPERCRONIC_SHA1SUM=1b9ebd06c79f475120aaf8b8240b9ac9f9a1ab93
RUN curl -fsSLO "$SUPERCRONIC_URL" \
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \
&& chmod +x "$SUPERCRONIC" \
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic