1 # Koha Example Crontab File
2 # Author: Joe Atzberger <atz@liblime.com>
4 # This is an example of a crontab file for Debian. It may not work
5 # in other versions of crontab, like on Solaris 8, for example.
7 # While similar in strcture,
8 # this is NOT an example for cron (as root). Cron takes an extra
9 # argument per line to designate the user to run as. You could
10 # reasonably extrapoloate the needed info from here though.
12 # WARNING: These jobs will do things like charge fines, send
13 # potentially VERY MANY emails to patrons and even debar offending
14 # users. DO NOT RUN OR SCHEDULE these jobs without being sure you
15 # really intend to. Make sure the relevant message templates are
16 # configured to your liking before scheduling messages to be sent.
19 # First, establish Koha's two important ENV variables.
21 PERL5LIB=/home/liblime/kohaclone
22 KOHA_CONF=/home/liblime/kohaclone/etc/koha-conf.xml
25 # MULTIPLE KOHA SUPPORT:
26 # You can still run jobs for this user's additional koha installs.
28 # For example, on the same codebase:
29 # */10 * * * * KOHA_CONF=/home/liblime/koha-test/etc/koha-conf.xml /home/liblime/kohaclone/misc/migration_tools/rebuild_zebra.pl -b -z >/dev/null
31 # For example, on a separate codebase:
32 # */10 * * * * KOHA_CONF=/home/liblime/koha-test/etc/koha-conf.xml PERL5LIB=/home/liblime/koha-test /home/liblime/koha-test/misc/migration_tools/rebuild_zebra.pl -b -z >/dev/null
36 # Don't forget to keep the empty line at the bottom.
37 # Cron/crontab will choke without it.
39 # m h dom mon dow command
40 0 1 * * * /home/liblime/kohaclone/misc/cronjobs/overdue_notices.pl
41 5 1 * * * /home/liblime/kohaclone/misc/cronjobs/fines-ll.pl
42 10 1 * * * /home/liblime/kohaclone/misc/cronjobs/advance_notices.pl -c
43 15 * * * * /home/liblime/kohaclone/misc/cronjobs/process_message_queue.pl
44 */10 * * * * /home/liblime/kohaclone/misc/migration_tools/rebuild_zebra.pl -b -z >/dev/null