diff --git a/app/routes/jobs.py b/app/routes/jobs.py index 921ec6a..6413482 100644 --- a/app/routes/jobs.py +++ b/app/routes/jobs.py @@ -186,7 +186,7 @@ def submit_step1(): # If successful, run scenario scan to get available scenarios print(f"[DEBUG] Running scenario scan...") - scan_cmd = f"sshpass -p '{ssh_password}' ssh {ssh_options} {ssh_user}@{ssh_host} 'python3 TPF/Sensor_hub_repo/Tools/TPF/scenario_scan.py'" + scan_cmd = f"sshpass -p '{ssh_password}' ssh {ssh_options} {ssh_user}@{ssh_host} 'python3 /home/asf/testarena_backend/TPF/Sensor_hub_repo/tools/TPF/scenario_scan.py'" print(f"[DEBUG] Executing scan command: {scan_cmd.replace(ssh_password, '***')}") scan_result = subprocess.run(scan_cmd, shell=True, capture_output=True, text=True, timeout=120)