-
Hello, I just started using app.json to define my cron jobs today, but I have a question. Is there any way to disable the cron jobs in the lower environments like our qa and uat environments? I only want the jobs to run on production, but same codebase gets deployed to different places. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
No, there is currently no way to disable cron tasks. Might be a nice feature though! Feel free to file a feature request. |
Beta Was this translation helpful? Give feedback.
-
the best wey its set. app.prod.json and set inside a custom formation https://dokku.com/docs/processes/process-management/#manually-managing-process-scaling |
Beta Was this translation helpful? Give feedback.
-
@zodman You're awesome, thank you! Just to clarify (because it took me a min to figure out... I'm slow) create an |
Beta Was this translation helpful? Give feedback.
the best wey its set.
app.prod.json
app.uat.json
and set inside a custom formation https://dokku.com/docs/processes/process-management/#manually-managing-process-scaling