deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

[Bug]: Crons are not supported for preview deployments. Cron jobs will not be executed in this context.

Open messabih-khalil opened this issue 1 year ago • 2 comments

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

  1. deploy cron
  2. change preview deployment into production deployment
  3. 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

messabih-khalil avatar Nov 12 '24 13:11 messabih-khalil

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.

ChristianSiegert avatar Nov 17 '24 05:11 ChristianSiegert

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.

zerodegress avatar May 26 '25 09:05 zerodegress