From b54d61531f95952ef5a7357ee4ab1e8c257218b9 Mon Sep 17 00:00:00 2001 From: jongjae Date: Tue, 19 May 2026 08:21:15 +0900 Subject: [PATCH] =?UTF-8?q?[2026-05-19]=20=EB=B4=87=20=EC=8B=9C=EC=9E=91?= =?UTF-8?q?=20=EC=88=9C=EC=84=9C=20=EB=B3=80=EA=B2=BD=20=E2=80=94=20?= =?UTF-8?q?=EB=AA=A8=EB=8B=9D=20=EC=99=84=EB=A3=8C=20=ED=9B=84=20/start-bo?= =?UTF-8?q?t=20=ED=98=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit StockBot_Bot 스케줄러(07:55) 비활성화. run_morning.ps1이 /morning 완료 후 /start-bot 실행. daily_context.json 생성 보장 후 봇 시작으로 컨텍스트 적용 확인 가능. Co-Authored-By: Claude Sonnet 4.6 --- scripts/run_morning.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/run_morning.ps1 b/scripts/run_morning.ps1 index a3bb64e..df428a3 100644 --- a/scripts/run_morning.ps1 +++ b/scripts/run_morning.ps1 @@ -20,3 +20,13 @@ $timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" $timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" [System.IO.File]::AppendAllText($LOG, "[$timestamp] claude_morning 완료`n", $utf8) + +# 모닝 완료 후 봇 시작 (daily_context.json 생성 보장 후 시작) +$timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" +[System.IO.File]::AppendAllText($LOG, "[$timestamp] /start-bot 시작`n", $utf8) + +& $CLAUDE -p "/start-bot" --dangerously-skip-permissions 2>&1 | + ForEach-Object { [System.IO.File]::AppendAllText($LOG, "$_`n", $utf8) } + +$timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" +[System.IO.File]::AppendAllText($LOG, "[$timestamp] /start-bot 완료`n", $utf8)