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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from David Nind <[email protected]> ---
Testing notes (using KTD):
1. Enable ILL - set ILLModule system preference = Enable
2. Create several requests (I created 4)
3. Apply patches (including dependent bug 28740)
4. Restart everything: restart_all
5. Update the requests in the database so that the requests you 
   created are completed and over 30 days old:
   - koha-mysql kohadev
   - update illrequests set updated = "2026-06-01 00:00:00";
   - update illrequests set status = "COMP";
6. Output from running the clean up script:

perl misc/cronjobs/cleanup_database.pl --illrequests-days 30
--illrequests-status COMP -v
Confirm flag not passed, running in dry-run mode...
Purging unaccepted list share invites older than 14 days.
Done with purging unaccepted list share invites.
Start lock unsubscribed, anonymize and delete
0 patrons would have been locked
0 patrons would have been anonymized
0 patrons would have been deleted
Purging ILL requests with statuses COMP older than 30 days.
4 ILL requests would have been removed

7. Run the script with --confirm:

perl misc/cronjobs/cleanup_database.pl --illrequests-days 30
--illrequests-status COMP --confirm -v
Purging unaccepted list share invites older than 14 days.
Done with purging unaccepted list share invites.
Start lock unsubscribed, anonymize and delete
Locked 0 patrons
Anonymized 0 patrons
Deleted 0 patrons
Purging ILL requests with statuses COMP older than 30 days.
Done with purging 4 ILL requests.

8. Tests pass: prove t/db_dependent/Koha/ILL/Requests.t

-- 
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]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to