diff --git a/scheduler/scheduler/tasks.py b/scheduler/scheduler/tasks.py index 72778f266359e2bf470d3ea1328d9e4f34488832..19dc8083c56c3a6d41a3545c4ec031df1b12330a 100644 --- a/scheduler/scheduler/tasks.py +++ b/scheduler/scheduler/tasks.py @@ -44,7 +44,7 @@ def run_analysis(repo_url, job_id, result_token, analytics_token): append_job_log(result_token, job_id, "main.py doesn't exist", False) return f"Job with id {job_id} failed. main.py doesn't exist" - cmd = f"python3 {directory}/main.py {analytics_token}" + cmd = f"python3 {directory}/main.py {analytics_token} {RIGHTS_ENGINE_BACKEND}" p = Popen( cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True )