airflow_worker.sh 231 B

123456789
  1. #!/bin/bash
  2. job_queue=${1:?'Missing job queue'}
  3. job_name=${2:?'Missing job name'}
  4. source /rds/general/user/igf/home/data2/airflow_test/secrets/hpc_env.sh
  5. airflow worker --pid $TMPDIR -cn ${PBS_JOBID}-${job_name} -q ${job_queue}