Commit 64b51255 authored by nanahira's avatar nanahira

run once every 12 am

parent 75b790a2
Pipeline #220 failed with stages
in 48 seconds
......@@ -6,7 +6,7 @@ RUN npm ci
COPY . ./
RUN npm run build
RUN echo '0 */4 * * * bash -c "cd /usr/src/app && npm run fetch"' > /etc/cron.d/tx3 && \
RUN echo '0 0 * * * bash -c "cd /usr/src/app && npm run fetch"' > /etc/cron.d/tx3 && \
crontab /etc/cron.d/tx3
CMD ["bash", "-c", "npm run fetch && cron -f"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment