Browse Source

fix for hpc queue check

Avik Datta 4 years ago
parent
commit
0ca67ab8aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dags/dag1_calculate_hpc_worker.py

+ 2 - 2
dags/dag1_calculate_hpc_worker.py

@@ -65,10 +65,10 @@ with dag:
 
   check_hpc_queue = \
     SSHOperator(
-      task_id='fetch_active_jobs_from_hpc',
+      task_id='check_hpc_queue',
       ssh_hook=hpc_hook,
       dag=dag,
-      command='qstat',
+      command='source /etc/bashrc;qstat',
       queue='igf-lims'
     )