0

Is there some background processor in ruby which would allow to find an existing not started delayed jobs by custom key?

I'm trying to solve a task with e-mail notifications, when there could be multiple changes in my model and I want to collect them in batches before sending.

So, I don't want to create another notification job when there is already an existing job, I'd rather append notification info to the existing job.

Any hint?

Thanks, KIR

4

2 回答 2

1

我想您将需要一个引擎应用程序

https://github.com/trevorturk/delayed_job_admin

经过测试并且工作正常,但需要 rails 3。

于 2011-08-04T12:52:08.417 回答
0

我想我想在这里混合概念。

Delayed Job 的工作是运行长任务。

我正在寻找的是一个活动通知列表,我可以使用自定义表格轻松实现。

于 2011-08-04T13:31:11.357 回答