Skip to content

Commit

Permalink
Passage var d'env $EZMESURE_TOKEN au shell
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelien23 committed Aug 26, 2024
1 parent 93de071 commit e7da51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh

# https://crontab.guru/#0_0_*_*_*
{ echo "EZMESURE_TOKEN=$EZMESURE_TOKEN"
{ echo "EZM_TOKEN=$EZMESURE_TOKEN"
echo ""; \
echo "# EZP Bulk"; \
echo "0 2 * * * /home/node/launch-ezp.sh 1>/proc/1/fd/1 2>/proc/1/fd/2"; \
echo "# EZM"; \
echo "0 6 * * * /home/node/launch-ezm.sh $EZMESURE_TOKEN 1>/proc/1/fd/1 2>/proc/1/fd/2" ; \
echo "0 6 * * * /home/node/launch-ezm.sh $EZM_TOKEN 1>/proc/1/fd/1 2>/proc/1/fd/2" ; \
} | crontab -

# start cron
Expand Down

0 comments on commit e7da51c

Please sign in to comment.