지연된 작업을 다시 시작하지 않고 디버깅하는 가장 좋은 방법은 무엇입니까?delayed_job이 다시 시작되지 않음
restart가 실행 중임을 나타내지 만 그레이핑에는 프로세스가 표시되지 않습니다.
$ RAILS_ENV=production ruby script/delayed_job -n3 --pid-dir=/dem/pids/ restart
Warning: no instances running. Starting...
Warning: no instances running. Starting...
Warning: no instances running. Starting...
$ ps -aux | grep delay
produser 3471 0.0 0.0 7232 612 pts/4 S+ 10:28 0:00 tail -f delayed_job.log
produser 4059 0.0 0.0 11740 928 pts/0 S+ 10:32 0:00 grep --color=auto delay
$ RAILS_ENV=production ruby script/delayed_job -n3 --pid-dir=/dem/pids/ restart
Warning: no instances running. Starting...
Warning: no instances running. Starting...
Warning: no instances running. Starting...
delay_job.log 파일을 테일링하는 동안 단순히 재시작하고 자동으로 실패하는 처리를 보여줍니다.
2017-02-01T10:48:04-0800: [Worker(delayed_job.0 host:app pid:6257)] worker started
2017-02-01T10:48:04-0800: [Worker(delayed_job.1 host:app pid:6267)] worker started