我的Rails日誌(從Heroku的拉動)繼續顯示嘗試運行Rails3中:記錄顯示在'耙作業崩潰:work`
耙作業的應用程序:工作
,但我沒有運行延遲招聘。 (我不記得)。
是否有另一個原因Rails會運行耙工作:工作?我應該在應用程序文件中查找它?
這裏的錯誤行
2011-12-02T19:40:27+00:00 heroku[worker.2]: State changed from crashed to created
2011-12-02T19:40:27+00:00 heroku[worker.2]: State changed from created to starting
2011-12-02T19:40:30+00:00 heroku[worker.2]: Starting process with command `rake jobs:work`
2011-12-02T19:40:30+00:00 app[worker.2]: (in /app)
2011-12-02T19:40:31+00:00 heroku[worker.2]: State changed from starting to up
2011-12-02T19:40:31+00:00 app[worker.2]: rake aborted!
2011-12-02T19:40:31+00:00 heroku[worker.2]: Process exited
2011-12-02T19:40:32+00:00 heroku[worker.2]: State changed from up to crashed
2011-12-02T19:49:04+00:00 heroku[worker.1]: State changed from created to starting
2011-12-02T19:49:07+00:00 heroku[worker.1]: Starting process with command `rake jobs:work`
2011-12-02T19:49:07+00:00 app[worker.1]: (in /app)
2011-12-02T19:49:07+00:00 heroku[worker.1]: State changed from starting to up
感謝
您是否正在運行heroku cron(http://devcenter.heroku.com/articles/cron)或延遲的工作人員? (http://devcenter.heroku.com/articles/delayed-job) – phoet
是的,我正在運行cron,每小時。雖然這個錯誤似乎發生在每小時cron工作之外。 (我的cron在過去一小時運行:03,並且此錯誤始終運行。) – DougN