taskiq icon indicating copy to clipboard operation
taskiq copied to clipboard

[scheduled tasks] get last executed tasks IDs

Open gael-soude opened this issue 3 months ago • 0 comments

Description

💡 It could be great if we could get the last scheduled tasks results.

Let's say I trigger a new cron task.

  • If I try to execute ScheduledTask.get_schedules() on this tasks, I will get a few information such as the schedule_id.
  • It could be great to also get an array with let's say the 3 last tasks IDs to be able to get their results.

I don't know how complex this would be or even if this is feasible. But I would like to open the discussion :)

gael-soude avatar Aug 27 '25 16:08 gael-soude