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

--- Comment #12 from David Cook <[email protected]> ---
(In reply to Jonathan Druart from comment #11)
> Can you provide some use cases?

I'm working on a plugin where we schedule a cronjob to execute a plugin method
every X minutes. (The "cronjob_nightly" hook isn't frequent/granular enough.)

Another use case would be allowing sysadmins to run tools manually on the
backend. Could be useful for batch tasks, infrequent tasks, etc.  

It could be useful for integrations with other systems on the server where you
want to avoid the overhead of a HTTP API. (This is something I considered in
2020.)

You could use it to configure a plugin in a more automation friendly way. So
you could use Ansible to unzip a plugin to a plugin_dir directory, install it
with "./misc/devel/install_plugins.pl", and then use this to configure it. 

--

Anyway, the first use case is the one I'm intentionally targeting. At the
moment, I've included this script in the plugin itself.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to