#Cron events happen multiple times every time

1 messages · Page 1 of 1 (latest)

lament cypress
#

Hello! I've just received an email saying that I reached 50% of the daily limit for KV for a project that I haven't modified in months and for which the route is disabled.
So I checked the cron events logs and I noticed they are called 3 times every time 🤔
I don't understand why and today is the first time it happens.

#

Also this is what I see in the KV tab.
My cron event should only call KV.put() and KV.get() twice every time and never KV.list() so this is weird too

astral ridge
#

Could you try deleting the worker & republishing it?

astral ridge
lament cypress
lament cypress
lament cypress
astral ridge
#

Did you make the worker using wrangler, or the dashboard?

lament cypress
#

I used wrangler

astral ridge
#

Then using wrangler publish should recreate all of those things for you

lament cypress
#

Alright, I will try then 🙂

#

I can't see if it works because my cron event stops now but I'll let you know if it worked tomorrow.
Thank you for your help! 🙂

astral ridge
#

Alright, no worries

lament cypress
#

It looks like it works now 😁
Thank you!