Open-source script locks Claude's 5-hour usage windows to fixed times
Claude's starts counting from the moment you send your first message, which means the window's start time drifts depending on when you happen to begin chatting. A small open-source tool addresses this by automatically sending a minimal "hi" message through the using the Haiku model at fixed times (defaults: 7am, 12pm, 5pm), so the usage windows always start at predictable times like 7:00-12:00, 12:00-17:00, and 17:00-22:00.
It runs on nothing more than bash and cron, so it works on any always-on machine such as a , VPS, or home server, and the schedule itself is fully configurable. The code is published on GitHub as claude-scheduler.
Key points
- Claude's starts from your first message, so its timing normally drifts
- The script pings with Haiku at fixed times (default 7am/12pm/5pm) to anchor the window start
- Built with just bash and cron, so it runs on any always-on machine (, VPS, home server)
- Schedule times are fully configurable
- on GitHub; feedback and welcome