How to stop Good Job? #217
Replies: 2 comments 4 replies
-
I assume you're running as a background daemon; otherwise There isn't currently a command to stop the GoodJob background daemon process. You can check the pidfile (default is in your rails app's Can you tell me a bit more about how you're running GoodJob? |
Beta Was this translation helpful? Give feedback.
-
When running GoodJob as a background daemon, I noticed it creates an entry in the My assumption is that the table is supposed to be keep track of active processes running. Is there an elegant way to removing that entry in the table when stopping the background process? EDIT: One thing I just now noticed is that even if the row in the table isn't deleted when the process is stopped, when good_job is restarted, it replaces that row with a new one. The original reason I was asking this is because every time we do a deployment, I assumed we'd need to:
I thought without doing (2), the database table would continually add rows every time we started a new process, but that doesn't appear to be the case. So now I'm trying to figure out if the table may not be accurate (since it may have data about processes that have been terminated) what is the |
Beta Was this translation helpful? Give feedback.
-
Is there a way to stop Good Job?
An opposite to
bundle exec good_job start
Beta Was this translation helpful? Give feedback.
All reactions