Mercurial > repos > pieterlukasse > nist_wrapper
comparison nist_wrapper.py @ 18:dae90b9abf61
increased timeout
author | pieter.lukasse@wur.nl |
---|---|
date | Fri, 23 Jan 2015 17:24:03 +0100 |
parents | 82368bd06e1d |
children | a394029414c6 |
comparison
equal
deleted
inserted
replaced
17:82368bd06e1d | 18:dae90b9abf61 |
---|---|
128 "/PAR=2"] | 128 "/PAR=2"] |
129 subprocess.call(cmd) | 129 subprocess.call(cmd) |
130 | 130 |
131 | 131 |
132 timeSleeping = 0 | 132 timeSleeping = 0 |
133 startUpTime = 30 | 133 startUpTime = 60 |
134 # monitor process by checking state file: | 134 # monitor process by checking state file: |
135 utils.log_message(log_file, "monitoring SRCREADY.TXT...") | 135 utils.log_message(log_file, "monitoring SRCREADY.TXT...") |
136 while True: | 136 while True: |
137 # check if SRCREADY.TXT is there already: | 137 # check if SRCREADY.TXT is there already: |
138 if os.path.exists(file_to_monitor): | 138 if os.path.exists(file_to_monitor): |