Stop scheduled routines burning tokens: an outside checker rings a webhook only when there is work
Published
How can AI replace hourly scheduled routines?
- Replaces: hourly scheduled routines (check the inbox, watch a folder, look at a queue) that start a full model run even when nothing is new.
- The author runs about 29 agents and cites the warning in the docs that an hourly schedule can use a week of usage in a day.
- What to connect: a small script on a computer that stays on (a Mac or any always-on machine; a VPS is optional) checks a cheap condition such as a file, folder, date or count.
- Only when there is work does it POST to a Grok Bot routine's webhook URL, using the routine's webhook key as a Bearer token.
- Empty checks cost zero tokens. Keep real schedules for jobs whose point is the time, such as a morning digest.
- Who it's for: anyone running several Grok Bots on polling routines who hits the usage limit before the week is over.
From the Morning Tokens issue of Nov 30, 2026