Skip to content

Commit

Permalink
Better wrapper logging
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Sep 11, 2024
1 parent 2c7d993 commit c7c5bb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/loculus/silo_import_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ get_time_from_file() {

while true
do
echo "Checking for new data in SILO"
last_snapshot_time=$(get_time_from_file "$current_snapshot_time_path")
echo "Data in SILO corresponds to data in Loculus at time: $last_snapshot_time"

Expand All @@ -36,5 +37,6 @@ do
else
bash /silo_import_job.sh --last-snapshot="$last_snapshot_time" --backend-base-url="$BACKEND_BASE_URL"
fi
echo "Sleeping for 30 seconds"
sleep 30
done

0 comments on commit c7c5bb4

Please sign in to comment.