[Koha-devel] Bug 1993 - Task Scheduler Needs Re-write

Jonathan Druart jonathan.druart at bugs.koha-community.org
Mon Jun 18 15:17:59 CEST 2018


My work was focused on the issue we face for background jobs.

I have just pushed my local branch to
https://gitlab.com/joubu/Koha/commits/bug_15032_other_tries (last 7 commits)
There is nothing to process the queued jobs actually, so I guess it is not
what you expected.
IIRC my conclusion was that it is not possible to fix it (i.e. we cannot
have the progress bar working correctly under plack). We should just
display a "job submitted" message and provide a view to monitor the running
job, and finally show the results of the job (but not as simply as it
sounds).

Cheers,
Jonathan

On Mon, 18 Jun 2018 at 04:46 Renvoize, Martin <
martin.renvoize at ptfs-europe.com> wrote:

> Interested to see what you've started Jonathan,
>
> In rebus:list we used Minion, the job queue spin-off project from the same
> guys that wrote Mojolicious. Granted, it works best with a PostgreSQL
> backend, but I believe there are MySQL backends too.. I'd probably start
> there... the more I worked with them the more complicated I came to realise
> queues are.. lean on the shoulders of giants and all that ;)
>
> Martin
>
> *Martin Renvoize*
>
> Development Manager
>
>
>
>
> *T:* +44 (0) 1483 378728 <+44%201483%20378728>
>
> *F:* +44 (0) 800 756 6384 <+44%20800%20756%206384>
>
> *E:* martin.renvoize at ptfs-europe.com
>
> www.ptfs-europe.com
>
>
>
> <https://www.ptfs-europe.com>
>
>
>
> Registered in the United Kingdom No. 06416372   VAT Reg No. 925 7211 30
>
> The information contained in this email message may be privileged,
> confidential and protected from disclosure. If you are not the intended
> recipient, any dissemination, distribution or copying is strictly
> prohibited. If you think that you have received this email message in
> error, please email the sender at info at ptfs-europe.com
>
>
> On 14 June 2018 at 17:16, Jonathan Druart <
> jonathan.druart at bugs.koha-community.org> wrote:
>
>> Few links:
>>
>> http://lists.koha-community.org/pipermail/koha-devel/2017-February/043489.html
>> *Bug 10662*
>> <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662> - Build
>> OAI-PMH Harvesting Client
>> *Bug 15032*
>> <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15032> - [Plack]
>> Scripts that fork (like stage-marc-import.pl) don't work as expected
>>
>> Basically we need a daemon watching a job queue (DB table) to answer all
>> these needs at once.
>> I have started something already, I will get back to it when I will have
>> time (and motivation).
>>
>> Cheers,
>> Jonathan
>>
>> On Thu, 14 Jun 2018 at 12:59 Barton Chittenden <
>> barton at bywatersolutions.com> wrote:
>>
>>> This is an old issue that's never really been addressed. As I understand
>>> it, at one time, we had a tool that used the unix 'at' scheduler to run
>>> requested reports. This was a huge security hole, and we disabled it....
>>> and it's never worked since.
>>>
>>> As such, those who host servers must add calls to runreport.pl by hand.
>>>
>>> Bug 1993 was opened to address this. It was marked as 'In Discussion' in
>>> 2013. I would like to see this move forward -- server admins are dying from
>>> a thousand paper cuts, and I think that users would benefit from having
>>> more control over when their reports are scheduled.
>>>
>>> What still needs to be discussed here?
>>>
>>> Thanks,
>>>
>>> --Barton
>>> _______________________________________________
>>> Koha-devel mailing list
>>> Koha-devel at lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180618/666abb50/attachment-0001.html>


More information about the Koha-devel mailing list