This commit is contained in:
Florent Guiotte 2020-05-27 14:49:33 +02:00
parent 348fcd2531
commit 1566ea788d

View File

@ -25,7 +25,10 @@ log = logging.getLogger('Supervisor [{}]'.format(host))
def run(expe, hostpid=host):
database.update_experiment(expe, worker=hostpid, start_date=datetime.now())
database.update_experiment(expe,
worker=hostpid,
status='running',
start_date=datetime.now())
# Load protocol
log.info('Load protocol {}'.format(expe.protocol))