This feature will add an admin page to the staff client enabling superusers to trigger cron or other scripts without having to rely on a server admin.
Sponsored-by: Halland county library
Hi Eivin, Do you have some code prepared for this already? I've also been working on a new task scheduler, which I'm putting the finishing touches on at the moment.
Hi David, I did some initial work on this but it was abandoned for now because of the security aspect. Exposing root shell via CGI might not be a good idea. If you have a good solution that also perhaps solves some of the things that we wanted to solve with this I would be happy to test/sign-off your patch.
(In reply to Eivin Giske Skaaren from comment #3) > Hi David, > > I did some initial work on this but it was abandoned for now because of the > security aspect. Exposing root shell via CGI might not be a good idea. > > If you have a good solution that also perhaps solves some of the things that > we wanted to solve with this I would be happy to test/sign-off your patch. Thanks for the update. Basically, I've just written a task scheduler, which uses pluggable modules to run tasks. At the moment, I'm using it for downloading OAI-PMH records and importing OAI-PMH records into Koha. Adding support for things like "scheduled reports" would be as easy as creating a task plugin and creating a data entry template on the Koha staff client. At the moment, all the work is on bug #10662, but I've thought about splitting my patches into separate bug reports...
I am closing this as it is not realistic when considering security aspects etc. to develop this feature for the sponsor with the timebank available. I would suggest that any further efforts perhaps is best directed at Davids task scheduler.