Skip to content

Commit

Permalink
Adding 1 hour sleep delay
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Feb 26, 2024
1 parent 64079e1 commit c74afba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions airflow/docker/cwl/docker_cwl_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ do
done
echo "done sleeping"

# wait for 60 minutes
# sleep 3600

# Execute CWL workflow
source /usr/share/cwl/venv/bin/activate
aws s3 ls
aws ssm get-parameter --name /sps/processing/workflows/edl_username --region us-west-2

# wait for 60 minutes
sleep 3600

cwl-runner --outdir $output_dir --no-match-user --no-read-only $cwl_workflow /tmp/job_args.json
deactivate

Expand Down

0 comments on commit c74afba

Please sign in to comment.