The presentation will have two parts. The first will enumerate the various scheduled jobs (cronjobs) that your Koha system should be running, and the options available for each, including: Advanced Notices, Long Overdues, Overdue Notices, Fines, Message Queue Processing, and Zebra Indexing. The second part of the session will briefly explain what goes into writing a good cronjob, with a look at some examples and perl modules you can use to help. - Joe Atzberger
1 of 16
Downloaded 71 times
More Related Content
Koha Cronjobs
1. Koha Cronjobs
Joe Atzberger, LibLime
KohaCon 2009: Plano, TX
6. Any idiot could give this presentation.
Allow me to demonstrate!
7. Any idiot could give this presentation.
Allow me to demonstrate!
8. Any idiot could give this presentation.
Allow me to demonstrate!
All the info comes from two places:
9. Any idiot could give this presentation.
Allow me to demonstrate!
All the info comes from two places:
? crontab.example
10. Any idiot could give this presentation.
Allow me to demonstrate!
All the info comes from two places:
? crontab.example
? run: whatever_job.pl
11. Any idiot could give this presentation.
Allow me to demonstrate!
All the info comes from two places:
? crontab.example
? run: whatever_job.pl
? or: whatever_job.pl --help
12. Any idiot could give this presentation.
Allow me to demonstrate!
All the info comes from two places:
? crontab.example
? run: whatever_job.pl
? or: whatever_job.pl --help
? OK, well, not everything.
13. ?nes.pl
? No help
? No command-line options either
? sysprefs: ?nesMode, CircControl
? staff: ?nes rules, Calendar!
? TIP: run ?nes before notices
14. advance_notices.pl
? Like overdue notices, but before due
? ^EnhancedMessagingPreferences ̄ syspref
? Opt-In for individual patrons via OPAC
15. Building a good cronjob
? Documentation for use case!
? Good perl: use strict; use warnings;
? use Getopt::Long; # handle --options
? use Pod::Usage; # makes --help like perldoc
? internalize, like process_message_queue.pl
? test cases, dry run, operational feedback