Can't define cron job for periodic container start

Ok txs.

Have updated fly.toml and Dockerfile accordingly and was able to run a new machine via the fly m run... command

I found this command fly ssh console but can’t find /usr/local/bin/supercronic

curl on the command line gives me a command not found error…

Just for completeness this is the updated Dockerfile. I have taken the supercronic details from their GitHub

FROM node:alpine

WORKDIR /app

COPY package*.json ./

# Added --verbose to all RUN commands on 13/4
RUN npm install --verbose

COPY . .

EXPOSE 8080 

#CMD ["node", "app.js"]

# Install necessary packages for curl
#RUN apk update && apk install -y curl --verbose

# Install necessary packages for supercronic
#RUN apk add --no-cache curl --verbose

RUN apk add curl

# Latest releases available at https://github.com/aptible/supercronic/releases
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64 \
    SUPERCRONIC=supercronic-linux-amd64 \
    SUPERCRONIC_SHA1SUM=cd48d45c4b10f3f0bfdd3a57d054cd05ac96812b

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

# Copy the crontab file
COPY crontab /app/crontab

# Run the app and the cron process
CMD ["sh", "-c", "npm run start & supercronic /app/crontab"]