[Koha-bugs] [Bug 25245] Add a plugin hook to allow running code on a nightly basis

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 10 00:09:59 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25245

--- Comment #57 from David Cook <dcook at prosentient.com.au> ---
Regarding my above comments, while I have ambitions for a bespoke task
scheduler, Martin is correct that it is unlikely that I am going to write such
a task scheduler any time soon. (I'm really valuing my work-life balance.)

As a result, I suppose I'm open to ideas. This bug is immediately practical.

However, it would be nicer to have the plugins use a unified Koha scheduler
rather than one special for plugins. 

To that end, Martin's idea for a database table that tracks tasks and execution
time, and then having a scheduler (either cron-based or a separate daemon) to
poll that database table for tasks every 1 minute is probably reasonable. I'm
not going to work on it, but I can support that idea. 

It's a fine line between practical and technical debt but... I think we need
some kind of scheduling.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list