update DB table
This commit is contained in:
@@ -31,6 +31,9 @@ def update_json_status(queue_id, task_id, status, result=None):
|
||||
|
||||
import datetime
|
||||
import time
|
||||
import os
|
||||
|
||||
os.environ["XDG_RUNTIME_DIR"] = "/tmp"
|
||||
|
||||
def run_command_with_logging(cmd, log_file, cwd=None, env=None, timeout=1800, stop_string=None):
|
||||
"""Runs a command, logs output, and optionally stops when a string is found."""
|
||||
|
||||
Reference in New Issue
Block a user