🐛 BUG: Incorrect "too many crons" error
See original GitHub issueWhat version of Wrangler
are you using?
2.0.24
What operating system are you using?
Linux
Describe the Bug
I’m wrongly getting workers.api.error.too_many_crons [code: 10072]
.
I’m on the Workers free plan, which has a maximum of 5 Cron Triggers per account. I have 4 already active Cron Triggers divided over 2 Workers, one script has 3 Cron Triggers and the other one has 1 Cron Trigger. I’m trying to publish the Worker that has 3 Cron Trigger again (just a normal code update) and I get that " too many crons" error.
My theory is that it sees that my account currently has 4 total Cron Triggers. Then when I want to upload the Worker it thinks 3 more Cron Triggers are getting added, thus 4 + 3 > 5. In fact, the 3 Cron Triggers in the script I’m trying to upload are already on my account, there are no new Cron Triggers.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
High memory and "can't fork" on heavy long-lived cron daemon
The bug would not prevent the error you're seeing, however, there is a second fork() which, if it fails, will block that part...
Read more >CRON no longer works after update - WordPress.org
After the recent update of wordpress I am now seeing these errors in my logs. Never had them before. It's seems the cron...
Read more >Why is my crontab not working, and how can I troubleshoot it?
A frequent problem users make with crontab entries is that they forget that cron runs in a different environment than they do as...
Read more >Cron job troubleshooting guide - Cronitor
The common reasons cron jobs fail · Schedule errors are easy to make · Cron has subtle environment differences · There is a...
Read more >How To Solve WP-Cron Job Errors Caused By WordPress ...
Troubleshooting WP Cron Errors: · Using the wrong PHP version in the code for the manual cron job · Reinstalling or using a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to update here—we’ve confirmed this is a issue and are working on fixing it (as you suspected, the issue is with the addition of old triggers and replaced triggers)
This should be fixed going forward as of the next release