[Koha] How to receive reports to email

Caroline Cyr-La-Rose caroline.cyr-la-rose at inlibro.com
Sat Feb 16 04:35:54 NZDT 2019


There is already the runreport.pl cronjob that can do this.

https://koha-community.org/manual/18.11/en/html/cron_jobs.html#run-report

Le 19-02-15 à 10 h 28, Alvaro Cornejo a écrit :
> Hi Satish
>
> Always CC koha list so you can have more feedbacks  and others can profit
> from discussion.
>
> You can start with the example Paul provided. I don't know perl but seems
> complete; however you need to define/create your query. If you don't know
> perl, you can use any language you know.
>
> You can place it in any where you want -you must add-its path to the cron
> line-. Koha have a cgi-script folder you might want to use or create one
> for your specific scripts. It must also have the permissions required for
> it to be run by your cron and access your database.
>
> As Paul said, once you have your script ready you need to add a line in
> your daily cron for it to execute.
>
> Regards,
>
> Alvaro
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
> y GPRS online
>                Visitenos en www.perusms.com
>
>
> Le ven. 15 févr. 2019 à 01:16, SATISH <lis4satish at gmail.com> a écrit :
>
>> Hi Alvaro,
>>
>> Thank you for your email, could you please do little elaborate on how to
>> write a script or could share some
>> example script. Where this script should be placed (path) and permissions.
>>
>> Tks.
>> Satish
>>
>> On Thu, 14 Feb 2019 at 19:03, Alvaro Cornejo <cornejo.alvaro at gmail.com>
>> wrote:
>>
>>> Hi
>>>
>>> If already have an report for this, you can define it as public and
>>> create a small script -in the language of your choice- that runs it and
>>> insert an entry in cron jobs.
>>>
>>> You can even create the whole report in your script accessing directly to
>>> your database.
>>>
>>> Regards,
>>>
>>> Alvaro
>>>
>>>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Caroline Cyr La Rose, M.L.I.S.
Librarian | Product Manager

Phone: 1-833-465-4276, ext. 221
Caroline.Cyr-La-Rose at inLibro.com <mailto:caroline.cyr-la-rose at inLibro.com>

INLiBRO | Document Technologies Specialists | www.inLibro.com 
<http://www.inLibro.com>


More information about the Koha mailing list