https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38237 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173211|0 |1 is obsolete| | --- Comment #3 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- Created attachment 173219 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173219&action=edit Bug 38237: Add logging to erm_run_harvester cronjob This patch simply adds logging to the cronjob To test: 1 - Enable CronjobLog http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CronjobLog 2 - Enable ERMModule http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ERMModule 3 - Home -> E-resource Management -> Data providers -> New data provider Fill from registry or create your own, but change the URL and put in any required numbers We don't need a real test, just to run the ob 4 - perl misc/cronjobs/erm_run_harvester.pl --begin-date 2024-01-01 --dry-run --debug 5 - View the logs, no log of the script 6 - Apply patches 7 - Run the job again 8 - Check logs 9 - Success! Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.