Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.41.0
What version of Node are you using?
21.6.1
What operating system and version are you using?
WSL2 (Ubuntu 22.04.4 LTS)
Describe the Bug
Observed behavior
Cron triggers are not removed even if crons = [] set in wrangler.toml.
Expected behavior
Cron triggers are removed as documented here.
https://developers.cloudflare.com/workers/configuration/cron-triggers/#via-wranglertoml-1
Steps to reproduce
See the minimal reproduction git repo.
How to reproduce the bug:
npx wrangler deploy --triggers "* * * * *"
npx wrangler deploy
If you see the triggers tab in the dashboard, * * * * * is still there.
Please provide a link to a minimal reproduction
https://github.com/risu729/wrangler-crons-test
Please provide any relevant error logs
No response
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.41.0
What version of Node are you using?
21.6.1
What operating system and version are you using?
WSL2 (Ubuntu 22.04.4 LTS)
Describe the Bug
Observed behavior
Cron triggers are not removed even if
crons = []set inwrangler.toml.Expected behavior
Cron triggers are removed as documented here.
https://developers.cloudflare.com/workers/configuration/cron-triggers/#via-wranglertoml-1
Steps to reproduce
See the minimal reproduction git repo.
How to reproduce the bug:
npx wrangler deploy --triggers "* * * * *"npx wrangler deployIf you see the triggers tab in the dashboard, * * * * * is still there.
Please provide a link to a minimal reproduction
https://github.com/risu729/wrangler-crons-test
Please provide any relevant error logs
No response