https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35920 --- Comment #30 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #29)
That's actually something I bumped into with bug 10662 because I was performing OAI-PMH harvests using background job workers, and I needed to be able to schedule future harvests. I did that by having the worker add a task to the task scheduler.
I wrote that task scheduler, which was high performance and had 1 second granularity. We wouldn't have to do something as sophisticated as that. Many years ago, I think that Galen suggested a cronjob-driven task scheduler with a database table for storing the tasks. The downside is that the minimum granularity for scheduling is 1 minute, but that should cover most current cases. We could do a daemon (like I did years ago), but that does add complexity. I think my task scheduler scared people, and it was event-driven which did make it difficult to test (although since then I've thought of ways I could've unit tested the functionality regardless of the event-driven engine). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.