From 2829524e95d7b1292855fcf2d05f2f45185b71a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2?= Date: Wed, 3 Sep 2025 14:45:44 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=BE=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scheduler.py b/app/scheduler.py index 0fbc756..446675b 100644 --- a/app/scheduler.py +++ b/app/scheduler.py @@ -3,7 +3,6 @@ from apscheduler.triggers.cron import CronTrigger import subprocess def run_parser(filename = 'main.py'): - print("Запуск main.py...") subprocess.run(['python', filename]) def launch_the_scheduler(h=6, m=0): @@ -15,6 +14,7 @@ def launch_the_scheduler(h=6, m=0): print("Планировщик запущен. Нажмите Ctrl+C для остановки.") try: + print("Запуск main.py...") scheduler.start() except KeyboardInterrupt: print("Планировщик остановлен")