[Evergreen-general] Carousel Cron Job

JonGeorg SageLibrary jongeorg.sagelibrary at gmail.com
Wed Mar 31 19:07:46 EDT 2021


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20210331/2bf2f834/attachment.html>


More information about the Evergreen-general mailing list