diff --git a/webservice/webservice.py b/webservice/webservice.py
index 6df983bb07549f55f3e82552a5c3e018d2557dbf..aabc47020378f34a59bc8850581c65d9c446c8b6 100644
--- a/webservice/webservice.py
+++ b/webservice/webservice.py
@@ -59,6 +59,7 @@ def init_job_db(config):
         CREATE TABLE IF NOT EXISTS executions(
             exec_id INTEGER PRIMARY KEY,
             req_id REFERENCES requests(req_id),
+            command TEXT,
             det_type,
             karabo_id,
             success
@@ -1170,15 +1171,16 @@ class ActionsServer:
                 time_stamp=datetime.now().strftime('%y%m%d_%H%M%S'),
                 det_instance=karabo_id,
                 request_time=request_time
-            ).split()
+            )
 
             with self.job_db:
                 cur = self.job_db.execute(
-                    "INSERT INTO executions VALUES (NULL, ?, ?, ?, NULL)",
-                    (req_id, detector, karabo_id)
+                    "INSERT INTO executions VALUES (NULL, ?, ?, ?, ?, NULL)",
+                    (req_id, cmd, detector, karabo_id)
                 )
                 exec_id = cur.lastrowid
 
+            cmd = cmd.split()
             cmd = parse_config(cmd, dconfig)
             # TODO: Add detector info in returned run action status.
             ret.append(await run_action(