From f37e309335f712587db441ab4ce3b4509efcf9c9 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 2 Dec 2025 17:07:15 +0700 Subject: debug + placeholder --- backend/main.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend/main.py') diff --git a/backend/main.py b/backend/main.py index 22556d1..4544e82 100644 --- a/backend/main.py +++ b/backend/main.py @@ -165,10 +165,13 @@ def restart_terminated_schedules(): print(row[0]) scheduler.add_job(reminder_timer_finished, 'date', run_date=end_date, id=str(row[0]), args=[row[0]]) + print("setting internal array information") machine_status[row[4] - 1][row[5] - 1] = Status.RUNNING.name machine_times[row[4] - 1][row[5] - 1] = row[2] machine_durations[row[4] - 1][row[5] - 1] = row[3] + print(machine_status, machine_times, machine_durations) + def reminder_timer_finished(timer_id): print("timer almost finished", timer_id) -- cgit v1.2.3