diff --git a/webservice/webservice.py b/webservice/webservice.py index 0652255f006d1e2d5c91f6eeb525d07f428e5be9..0272e3a135d8347502f456b47d98621e421a53c4 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -373,7 +373,7 @@ async def run_action(job_db, cmd, mode, proposal, run, exec_id) -> str: jobs.append((int(jobid.strip()), exec_id)) with time_db_transaction(job_db, 'Insert jobs'): job_db.executemany( - "INSERT INTO slurm_jobs VALUES (?, ?, 'PD', 0, 0)", + "INSERT INTO slurm_jobs VALUES (?, ?, 'PENDING', 0, 0)", jobs )