Hi all,

 

Do you ever want to run a Koha plugin method from the CLI? I know I sure do, so I raised this issue and attached a patch: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34335

 

I was able to upload a simple plugin and run the following: perl misc/run_koha_plugin.pl --class Koha::Plugin::Prosentient::CustomMethodPlugin --method awesome_method --params '{"msg": "this is awesome"}'

 

This could be useful for manual tasks, cronjobs, or whatever really.

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595