Skip to content

Commit

Permalink
fix flock etl.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
marthevienne committed Nov 13, 2024
1 parent 916ad33 commit d8715c7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions etl.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#! /bin/sh

exec 200>./var/lock/mylockfile
flock -n 200 || exit 1

/home/bas/venv/bin/python /home/bas/app_7244f095-70bc-43c3-9950-d075c01af05f/backend/bloom/tasks/load_spire_data_from_api.py && \
/home/bas/venv/bin/python /home/bas/app_7244f095-70bc-43c3-9950-d075c01af05f/backend/bloom/tasks/clean_positions.py && \
/home/bas/venv/bin/python /home/bas/app_7244f095-70bc-43c3-9950-d075c01af05f/backend/bloom/tasks/create_update_excursions_segments.py
flock /home/bas/app_7244f095-70bc-43c3-9950-d075c01af05f/backend/bloom/tasks/clean_positions.py --command "
/home/bas/venv/bin/python /home/bas/app_7244f095-70bc-43c3-9950-d075c01af05f/backend/bloom/tasks/clean_positions.py &&
/home/bas/venv/bin/python /home/bas/app_7244f095-70bc-43c3-9950-d075c01af05f/backend/bloom/tasks/create_update_excursions_segments.py"

0 comments on commit d8715c7

Please sign in to comment.