[Evergreen-general] Carousel Cron Job

Andrea Buntz Neiman abneiman at equinoxinitiative.org
Fri Apr 2 11:42:24 EDT 2021


Hi all,

Noting that I added the name of the script to the documentation for master,
3.7, and 3.6.

Thanks,
Andrea

On Wed, Mar 31, 2021 at 7:08 PM JonGeorg SageLibrary <
jongeorg.sagelibrary at gmail.com> wrote:

> Somehow, I did not see that script so I wrote my own and figured it out.
> I'm sure others would appreciate the documentation being more in depth.
> Thank you.
> -Jon
>
> On Wed, Mar 31, 2021 at 3:45 PM Galen Charlton <gmc at equinoxinitiative.org>
> wrote:
>
>> Hi Jon,
>>
>> On Wed, Mar 31, 2021 at 5:49 PM JonGeorg SageLibrary <
>> jongeorg.sagelibrary at gmail.com> wrote:
>> > ... it says that refreshing the carousels can be done as a cronjob by
>> implementing a srfsh script invoking
>> > open-ils.storage.carousel.refresh_all
>> >
>> > Is there a way to get more clarification on how to do that? When I look
>> at one of the other .srfsh scripts
>> > we have in cron - update_hard_due_dates it's referencing the
>> open-ils.cstore and running a json query.
>> > But I don't see anything in the documentation to show me how to do this
>> specifically for the carousels.
>>
>> The script /openils/bin/refresh_carousels.srfsh does exactly that. The
>> default example crontab entry for it is
>>
>> 5  3  * * *   . ~/.bashrc && $EG_BIN_DIR/refresh_carousels.srfsh
>>
>> Looks like a small documentation update wouldn't hurt.
>>
>> Regards,
>>
>> Galen
>> --
>> Galen Charlton
>> Implementation and IT Manager
>> Equinox Open Library Initiative
>> phone:  1-877-OPEN-ILS (673-6457)
>> email:  gmc at equinoxInitiative.org
>> web:  https://equinoxInitiative.org
>> direct: +1 770-709-5581
>> cell:   +1 404-984-4366
>> _______________________________________________
>> Evergreen-general mailing list
>> Evergreen-general at list.evergreen-ils.org
>> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
>>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
>


-- 
Andrea Buntz Neiman
Project Manager for Software Development
Equinox Open Library Initiative
abneiman at equinoxinitiative.org
1-877-OPEN-ILS (673-6457) x5583
*www.equinoxinitiative.org <http://www.equinoxinitiative.org>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20210402/29b54e19/attachment.html>


More information about the Evergreen-general mailing list