[Bug]: Crons are not supported for preview deployments. Cron jobs will not be executed in this context.
Problem description
after i make preview deployment into production deployment the crons dont appear in the section of crons and in the logs i see this message : Crons are not supported for preview deployments. Cron jobs will not be executed in this context.
Steps to reproduce
- deploy cron
- change preview deployment into production deployment
- the crons not appear in the crons tab
Expected behavior
the crons should be deployed
Environment
No response
Possible solution
No response
Additional context
No response
You should rephrase the title as it is not the problem you report in your description. A better title: Cron jobs are not created when a preview deployment is promoted to a production deployment.
same issue.
If I use deployctl to push new releases without the --prod flag, then when manually converting to a production build on the site it looks like this.