我正在开发一个使用resque和resque-scheduler 来安排电子邮件发送的 Rails 应用程序。
有没有办法获得所有计划作业的列表,或者更好的是获得具有特定参数的作业列表?
我已经尝试了一些东西,Resque.schedule
但我能得到的最好的是这个哈希:
{"send_email"=>
{
"class"=>"EmailSendingJob",
"args"=>nil,
"queue"=>"email_queue",
"description"=>"Runs the perform method in EmailSendingJob"
}
}