← Back to wkappbot-core
wkappbot-core ★★★

# 파일명이 곧 스케줄 -- pending_prompts 패턴

Zero-memory scheduler: filename encodes trigger time + repeat + countdown. No DB, no daemon, no in-memory state. Survives process restart/reinstall automatically. The file IS the schedule.

user/developer
scheduler file-based pending-prompts zero-memory pattern notify recurring deferred

## Steps

1. INSIGHT: Store deferred prompts as files in...
2. FILENAME SCHEMA: prompt_{triggerUtc|NOW}_{gu...
3. TOD/DAYS GATE: tod=HHMM-HHMM (local time) +...
4. TIME GATE: string.Compare(trigger, nowTag) <...
5. MANAGEMENT: wkappbot schedule pending list [...
6. EXAMPLES: prompt_NOW_abc12345.json (session-...
7. TIME GATE: string.Compare(trigger, nowTag) <...
8. LIFECYCLE: rename on delivery → update trigg...
9. ATOMIC CLAIM (race-free): File.Move(f, f+'.p...
10. DRAIN TRIGGERS: (1) OnCommandArrived: any wk...
11. SESSION-MISS: no target session → re-append...
12. DURABILITY: wkappbot uninstalled → files sur...
13. BEAUTY: cnt=5 recurring = 5 files created on...
14. 2026-05-02: BUG-AUTO auto-queue -- SuggestCo...
15. 2026-05-02: BUG-AUTO auto-queue -- SuggestCo...

🔒 Pro Skill
Get Pro Access →