Hi!

Koha comes with a crontab example under misc/cronjobs/crontab.example You can use that as a base

I use https://devhints.io/cron as a reference when working with crons.

I'm not very knowledgeable with crons either, mine were are all set up by someone else, but something like this should maybe work?

30 23 * * * $KOHA_PATH/misc/cronjobs/cleanup_database.pl --import 90

I hope this helps!

Caroline

P.S. It's best to reply to the list rather than just me so that other, more knowledgeable people, can comment too!

On 2023-02-16 01:52, zen zenitram wrote:
Good day!

Thank you for you reply to my inquiry, can you please help me by providing example of clean-up database script in cronjobs. i tried to make one but it didnt work.. im a newbie when it comes to debian/ubuntu.


Thank you!

On Wed, Feb 15, 2023 at 10:16 PM Caroline Cyr La Rose <caroline.cyr-la-r...@inlibro.com> wrote:

    Hello,

    I think what you need is the cleanup_database script with the
    --import
    parameter

    
https://koha-community.org/manual/latest/en/html/cron_jobs.html#clean-up-database

    Regards,

    Caroline

    On 2023-02-15 04:18, zen zenitram wrote:
    > How can i delete all biblios in reservoir, it always show
    duplicate entry
    > wehn upgrading koha to latest version.
    >
    > Thank you!
    > _______________________________________________
    >
    > Koha mailing listhttp://koha-community.org
    <http://koha-community.org>
    > Koha@lists.katipo.co.nz
    > Unsubscribe:https://lists.katipo.co.nz/mailman/listinfo/koha
    <https://inLibro.com/en <https://inLibro.com/en>>       Caroline
    Cyr-La-Rose, M.L.I.S.
    Librarian | Product Manager

    P 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 221
    E caroline.cyr-la-r...@inlibro.com

    www.inLibro.com <http://www.inLibro.com> <https://inLibro.com/en
    <https://inLibro.com/en>>
    _______________________________________________

    Koha mailing list http://koha-community.org
    Koha@lists.katipo.co.nz
    Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

--
Logo inLibro <https://inLibro.com>        Caroline Cyr-La-Rose
Bibliothécaire | Responsable de produit

T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 221
C caroline.cyr-la-r...@inlibro.com

www.inLibro.com <https://inLibro.com>
_______________________________________________

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to