Replies: 1 comment 1 reply
-
This is probably best set as a feature of dokku vs anything else. Mind opening an issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are some use cases where I do not want the app's cronjobs to run, like in data migrations (I have cronjobs that change the database and this would disrupt the migration). I couldn't find a simple way to do it, since
dokku ps:stop appname
anddokku maintenance:enable appname
do not affect cron (I've checked by runningtail -500f /var/log/syslog | grep 'dokku run --cron-id'
after stopping/putting the app into maintenance).Since I don't want to make new deploys changing
app.json
, I'm currently commenting the cronjobs manually usingsudo -u dokku crontab -e
and uncommenting after the migration.Is there any other clever way to do it or is it a missing feature?
It's somewhat related, but not exactly the same as #5024
Beta Was this translation helpful? Give feedback.
All reactions