为什么 resque-scheduler 尝试运行曾经存在但不再存在的作业?
几周前,我曾经有一份旧的 resque-scheduler 工作,但已将其删除:
EmailRelevantQuestions:
every: 15m
class: EmailRelevantQuestions
queue: email_queue
description: "Iterates through users and emails them relevant questions."
但是由于某种原因,这项工作仍然每 15 分钟触发一次,并且该类不再存在于我的代码库或调度程序中?我的日志状态:
2013-09-18 15:18:42.267177+00:00 app scheduler.1 - - 2013-09-18 10:18:42 queueing EmailRelevantQuestions (EmailRelevantQuestions)
2013-09-18 15:18:42.600357+00:00 app scheduler.1 - - 2013-09-18 10:18:42 queueing FrequentWorker (FrequentWorker)
2013-09-18 15:18:43.817671+00:00 app resque.1 - - *** Checking daily_queue
2013-09-18 15:18:43.820166+00:00 app resque.1 - - *** Checking email_queue
2013-09-18 15:18:43.826799+00:00 app resque.1 - - *** Found job on email_queue
2013-09-18 15:18:43.826914+00:00 app resque.1 - - *** got: (Job{email_queue} | EmailRelevantQuestions | [])
2013-09-18 15:18:43.832159+00:00 app resque.1 - - *** resque-1.25.0: Processing email_queue since 1379517523 [No Name]
2013-09-18 15:18:43.933346+00:00 app resque.1 - - *** Running after_fork hooks with [(Job{email_queue} | EmailRelevantQuestions | [])]
2013-09-18 15:18:43.944943+00:00 app resque.1 - - *** (Job{email_queue} | EmailRelevantQuestions | []) ***FAILED***: #<NameError: uninitialized constant EmailRelevantQuestions>
有某种缓存吗?
附言。我最近将我的 resque 表单 1.24 更新为 1.25...不确定这是否导致了问题