update DB table

This commit is contained in:
2025-12-28 03:28:14 +01:00
parent b1bebde582
commit 393e78defc
4 changed files with 9 additions and 1 deletions

View File

@@ -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."""