You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Setting up cron job for running schedule:run is cumbersome in docker image.
Describe the solution you'd like
I think there should be a cron job in docker image which would be controlled by an environment variable. A good default value for the value would be * * * * *, so that scheduled tasks work out of the box.
Installing the cron job would happen in startup.sh. Cron is already installed in the image, we just need to probably start it in the background. Starting cron daemon would also happen in startup.sh.
Describe alternatives you've considered
Environment value controlling the cron job could also be unset by default, and so the cron job wouldn't be installed at all.
Additional context
I think I can provide a pull request with these changes implemented, if this is concidered as a good idea.
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Is your feature request related to a problem? Please describe.
Setting up cron job for running schedule:run is cumbersome in docker image.
Describe the solution you'd like
I think there should be a cron job in docker image which would be controlled by an environment variable. A good default value for the value would be
* * * * *
, so that scheduled tasks work out of the box.Installing the cron job would happen in
startup.sh
. Cron is already installed in the image, we just need to probably start it in the background. Starting cron daemon would also happen in startup.sh.Describe alternatives you've considered
Environment value controlling the cron job could also be unset by default, and so the cron job wouldn't be installed at all.
Additional context
I think I can provide a pull request with these changes implemented, if this is concidered as a good idea.
The text was updated successfully, but these errors were encountered: