Create run_qsub.py

This commit is contained in:
guanjihuan 2024-05-08 01:10:44 +08:00
parent ad506ef82b
commit 0e8e7e1b75

View 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)