https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41888

            Bug ID: 41888
           Summary: Cronjob cleanup_database.pl doesn't delete old jobs
                    either by age or type
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 24.11
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The command 

perl /usr/share/koha/bin/cronjobs/cleanup_database.pl --confirm --jobs-days 7
--jobs-type all <instance> 

and several variations (e.g. only jobs-days or jobs-type parameter) does not
purge any old jobs.

What may be the reason?

The solution in https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30914
was to fix 'delete if $verbose' and set 'delete if $confirm' instead, but I
couldn't find the same mistake here.

The cleanup seems to fail also when the job runs as a cronjob in koha-common.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to