Claude Gets Cloudflare Cron Day Numbers Wrong Without Written Rules
A test found that Claude models often write cron schedules incorrectly for Cloudflare Workers, because Cloudflare numbers Sunday as day 1 while standard crontab starts with Monday as 1. In 18 schedules written for Workers, Sonnet got 13 right and Haiku only 6, with errors such as weekday ranges running Sunday through Thursday. Some mistakes were caught only at deploy time, since a Sunday value of 0 is rejected. When written rules about the day-numbering scheme were loaded, both models were correct on all 18 schedules. The same issue appeared when converting between scheduler formats, where Sonnet missed 1 of 21 and Haiku missed 9 of 21.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in