Cron job runs in dev when it should be disabled

My worker.toml is configured like this:
[triggers]
crons = ["*/10 * * * *"]

[env.dev.triggers]
crons = []
[triggers]
crons = ["*/10 * * * *"]

[env.dev.triggers]
crons = []
But my cron job is applying in both environments. Is there another way of preventing the job from running in dev?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?