sibson/redbeat

Redbeat scheduler - Execute same task at same time interval but for different inputs

Open

#93 建立於 2018年6月12日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (122 fork)batch import
help wanted

倉庫指標

Star
 (815 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

We are creating scheduler entry for 3 different ID's using the below code.

interval = schedule(run_every=60) RedBeatSchedulerEntry('{0}'.format(id), 'method_name', interval, kwargs=kwargs, app=app).save()

There are 3 different entries now, all of them with the same time interval to run every 60 seconds Below are the observations: --> Only the first task entry is getting executed every 60 secs --> Other two never get executed --> No exception or error seen for other entries

Excepted behavior : All 3 tasks which were assigned to run every 60 seconds to execute same method should be executed

貢獻者指南