Restart with the app

40 views
Skip to first unread message

Eustáquio Rangel

unread,
Jul 10, 2017, 5:33:26 PM7/10/17
to delayed_job
Hi!

I have a customer who needs to change some passwords on their app on a regular basis. But seems that when DelayedJob is running, it will try to use the old password, loaded with it was fired before the password change. I needed to restart it manually to get the new passwords.

So, I'm wondering if Is there a way to ask to the DelayedJobs running on the app directory restart as we do with Rails touching the 'tmp/restart.txt' file? If so, I can touch if from inside the app after they change their passwords.

Thanks!

David Genord II

unread,
Jul 10, 2017, 5:39:22 PM7/10/17
to delay...@googlegroups.com
DJ doesn't have any built in process management. You would need to be able to trigger whatever your process manager is from within the app.

David Genord II

--

---
You received this message because you are subscribed to the Google Groups "delayed_job" group.
To unsubscribe from this group and stop receiving emails from it, send an email to delayed_job+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages