delayed_job icon indicating copy to clipboard operation
delayed_job copied to clipboard

Delayed job not working in background while in production

Open amit-mhetre opened this issue 6 years ago • 1 comments

When we start delayed job in background with below commant, it shows that delayed_job process has started.

RAILS_ENV=production bin/delayed_job start

If we see the logs file log/delayed_job.log it also says Starting job worker and doesn;t executes the job.

But when I try to execute delayed job in foregqound with RAILS_ENV=production rake jobs:work then it properly executes the all pending jobs.

Is anyone familiar with this kind of scenario?

Note: When I ran same command as RAILS_ENV=production bin/delayed_job start --exit-on-complete it says No more jobs available. Exiting

I am using, Ruby 2.3.1 Rails 4.2.7 delayed_job (4.1.5) activesupport (>= 3.0, < 5.3) delayed_job_active_record (4.1.3) activerecord (>= 3.0, < 5.3) delayed_job (>= 3.0, < 5)

amit-mhetre avatar Jul 08 '19 18:07 amit-mhetre

@amit-mhetre Did you solve this issue?

amamrenko avatar Jan 01 '22 18:01 amamrenko

Closing stale

albus522 avatar Jul 26 '24 19:07 albus522