Automatic processing of jobs?

63 views
Skip to first unread message

Mark Anderson

unread,
Nov 16, 2018, 11:31:28 AM11/16/18
to delayed_job
I just want to confirm, when I add a job to the queue table I have to manually start "bin/delayed_job" to get the job processed? Is there any way to configure the project so jobs start being processed after "rails s"?

(The fact that I needed to run the script manually wasn't obvious from the README.md. I only realised after a fair amount of debugging. Maybe call it out better? Just my opinion.)

Thanks!

Matt Griffin

unread,
Nov 20, 2018, 5:59:17 PM11/20/18
to delay...@googlegroups.com
The worker process isn't part of your web process, which is why it doesn't (and can't) start when you run "rails s".

You could look into something like foreman, which uses a Procfile to define a group of app processes to bring up at once.

--

---
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages