Delayed_job processes kill silently

I have been using delayed_job for a long time. I updated my Rails installation and now when I run:

./script/delayed_job -n 4 start

to run 4 processes, all 4 processes are created. But they are immediately killed, leaving the pid files in RAILS_ROOT / tmp / pids.

This is for delayed_job version 1.8.4 and Rails 2.3.8.

+3
source share
2 answers

Well, I'm a funny person. I did not know about the "run" option, where I could run delayed_job in the foreground and see what exactly was happening. My database setup is unconventional for rails, and my delayed_job table is not in the same schema as that specified in my config / database.yml table.

, , , - delayed_job , delayed_jobs. Rails, , .

, . .

+1

/delayed _job.log . , script , , , RAILS_ENV=production script/delayed_job start

0

Source: https://habr.com/ru/post/1793476/


All Articles