From c6de61527187cde744e0ae29d1cfb32f5381ace2 Mon Sep 17 00:00:00 2001 From: gahusb Date: Wed, 15 Apr 2026 08:28:22 +0900 Subject: [PATCH] =?UTF-8?q?feat(agent-office):=20lotto=20=ED=81=90?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=ED=84=B0=20=EC=9B=94=EC=9A=94=EC=9D=BC=2007:?= =?UTF-8?q?00=20=EC=8A=A4=EC=BC=80=EC=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent-office/app/scheduler.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/agent-office/app/scheduler.py b/agent-office/app/scheduler.py index 1c6b2d6..7eeacf6 100644 --- a/agent-office/app/scheduler.py +++ b/agent-office/app/scheduler.py @@ -24,9 +24,15 @@ async def _run_blog_schedule(): if agent: await agent.on_schedule() +async def _run_lotto_schedule(): + agent = AGENT_REGISTRY.get("lotto") + if agent: + await agent.on_schedule() + def init_scheduler(): scheduler.add_job(_run_stock_schedule, "cron", hour=7, minute=30, id="stock_news") scheduler.add_job(_run_realestate_schedule, "cron", hour=9, minute=15, id="realestate_report") scheduler.add_job(_run_blog_schedule, "cron", hour=10, minute=0, id="blog_pipeline") + scheduler.add_job(_run_lotto_schedule, "cron", day_of_week="mon", hour=7, minute=0, id="lotto_curate") scheduler.add_job(_check_idle_breaks, "interval", seconds=60, id="idle_check") scheduler.start()