📜  delay_job 已经有一个或多个正在运行的程序实例 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:05.342000             🧑  作者: Mango

代码示例1
## For Issues
-> there is already one or more instance(s) of the program running.
->  `kill': Operation not permitted (Errno::EPERM)

## This command resolved my issue.

RAILS_ENV=production script/delayed_job -n 2 --pid-dir=tmp/pids restart