denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

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

Open messabih-khalil opened 1 week ago

messabih-khalil commented 1 week ago

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

ChristianSiegert commented 2 days ago

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.