User manual
Chapter 4
Generating advance notices
Advance notices are sent to patrons when items are due. To generate such notices,
we need to script advanced_ not ices .pl
as a cronjob. Add a line to the crontab as
follows:
49 5 * *
* perl / home /koha /kohacone/ bin /cronjobs /advance_notices.pl -c
This cronjob will execute at 5:49 AM every day and generate and queue advance
notices messages to patrons.
Generating overdue notices
Overdue notices are sent to patrons when items are past due. To generate such
notices, we need to script overdue_not ices .pl as a cronjob. Add a line to the
crontab as follows:
45 5
* * * perl /home /koha /kohaclone/ bin /cronjobs /overdue_notices.pl -t
This cronjob will execute at 5:45 AM every day and generate and queue overdue
notices messages to patrons.
Sending e -mail messages
To send e -mails to patrons we will need to script
process_messages .
pl in the
crontab:
30 6 * *
* perl / home /koha /kohaclone /bin /cronjobs /process message queue.
pl
The
process_messages .
pl program sends out the queued messages via e-mail.
This is the reason it should be scheduled after the advance notices and overdue
notices cronjobs. In this example, we have scheduled the program to run at 6:30 AM
every day.
Calculating fines
To calculate fines we script
f ines .pl
as follows:
0 7 * *
* perl / home /koha /kohaclone /bin /cronjobs /fines.pl
The
fines .
pl program calculates fines on overdue items based on circulation rules
setup in Koha.
[59]