Create run_qsub.py
This commit is contained in:
parent
ad506ef82b
commit
0e8e7e1b75
8
2021.01.18_run_programs_sequentially/run_qsub.py
Normal file
8
2021.01.18_run_programs_sequentially/run_qsub.py
Normal file
@ -0,0 +1,8 @@
|
||||
import os
|
||||
import time
|
||||
os.system('qsub task_1.sh')
|
||||
while True:
|
||||
if os.path.exists('./complete_1.txt'):
|
||||
os.system('qsub task_2.sh')
|
||||
break
|
||||
time.sleep(180)
|
Loading…
x
Reference in New Issue
Block a user