The cron job update_patrons_category.pl does not log anything to the action_logs via cronlogaction. It would be awesome if it did, so that curious users can know a job ran from within Koha's web interface.
Created attachment 138189 [details] [review] Bug 31249: Use cronlogaction on update_patrons_category.pl This patch does what the title says. To test: 1. Run the script 2. Check the action logs => FAIL: Boo, no record of the running cronjob 3. Apply this patch 4. Repeat 1-2 => SUCCESS: Yay! 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 138206 [details] [review] Bug 31249: Use cronlogaction on update_patrons_category.pl This patch does what the title says. To test: 1. Run the script 2. Check the action logs => FAIL: Boo, no record of the running cronjob 3. Apply this patch 4. Repeat 1-2 => SUCCESS: Yay! 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Liz Rea <liz@bywatersolutions.com>
Created attachment 138682 [details] [review] Bug 31249: Use cronlogaction on update_patrons_category.pl This patch does what the title says. To test: 1. Run the script 2. Check the action logs => FAIL: Boo, no record of the running cronjob 3. Apply this patch 4. Repeat 1-2 => SUCCESS: Yay! 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Liz Rea <liz@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Pushed to master for 22.11. Nice work everyone, thanks!
Backported to 22.05.x for 22.05.06
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed. Nothing to document it seems, marking resolved.
Thanks! Pushed to 21.11 for 21.11.12