Hide Windows scheduler bot execution

This commit is contained in:
whdwo
2026-07-02 16:06:14 +09:00
parent c43163629d
commit 80457fe6c4
5 changed files with 40 additions and 4 deletions
+6
View File
@@ -45,6 +45,8 @@ AI에게 맡기지는 않습니다. AI는 장 전/장중/장후 시장을 분석
- DB: SQLite (`data/stockbot.db`)
- 알림: Discord Webhook
- AI/ML: 시장 분석과 관찰용 점수 기록까지만 사용
- 스케줄러 작업은 숨김 실행으로 등록하고, 장중 봇 본체는 Windows에서
`pythonw.exe`를 우선 사용해 콘솔 창 없이 백그라운드로 실행합니다.
운영 모드는 아래처럼 나뉩니다.
@@ -79,6 +81,10 @@ powershell -ExecutionPolicy Bypass -File scripts\setup_scheduler.ps1
powershell -ExecutionPolicy Bypass -File scripts\run_training_pipeline.ps1
```
운영 중 봇을 직접 켜야 할 때는 `python app/main.py`보다
`python scripts\start_bot.py`를 사용합니다. 이 경로는 기존 봇을 정리한 뒤
콘솔 없는 백그라운드 프로세스로 새 봇을 띄우고 Discord 시작 알림을 보냅니다.
## 에이전트 운영 문서
- `AGENTS.md`: Codex가 읽는 운영 지침