Cron job runs in dev when it should be disabled

My worker.toml is configured like this:

[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?
Was this page helpful?