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

Jan Kissig <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #188268|0                           |1
        is obsolete|                            |

--- Comment #2 from Jan Kissig <[email protected]> ---
Created attachment 188440
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188440&action=edit
Bug 41062: Add an option to erm_run_harvester.pl to specify provider IDs

This patch adds a new option to define the providers in cronjob
erm_run_harvester.pl
that are used to run the SUSHI harvesting for COUNTER Reports in the ERM
module.
Use parameter --provider-id or -p
The parameter provider_id is repeatable.
If the parameter for provider_id is not used all active providers will be
harvested (as before).
The script will check if these providers are active (as before).

Script to run on ktd: perl misc/cronjobs/erm_run_harvester.pl --begin-date
2025-09-01 --end-date 2025-09-30

To test:
- Run the script and make sure that all active providers are harvested.
- Apply patch.
- Run the script with only one provider-id.
- Run the script with two provider-ids by using -p 1 -p 2
- Run the script without the parameter.
- Make sure that in all cases only active providers are harvested.
- Sign off :-).

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Signed-off-by: Jan Kissig <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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