Document Actions
12.2.
Cron Jobs
Up one level
Koha requires several cron jobs to run. Please list the jobs you know about below so I can build on the manual. If you think we need more than the fields I listed, let me know - or alter the document.
TIP: Please note that the locations below assume a dev install which puts the crons in misc/, if you have a standard install you may want to look in bin/ instead.Script path: misc/migration_tools/rebuild_zebra.pl
Does: Updates Zebra indexes with recently changed data.
Required by: Zebra
Frequency suggestion: every n minutes, depending on performance needs
Script path: misc/cronjobs/advance_notices.pl
Does: prepares "pre-due" notices and "item due" notices for patrons who request them
prepares notices for patrons for items just due or coming due soon.
requires EnhancedMessagingPreferences to be on
Frequency suggestion: nightly
TIP: This script does not actually send the notices. It queues them in the message queue for later
Script path: misc/cronjobs/process_message_queue.pl
Does: processes the message_queue to send emails and SMS messages to users
sends outgoing emails to patrons.
these messages are the ones prepared by other scripts, like overdue_notices.pl and others.
Frequency suggestion: nightly
Script path: misc/cronjobs/build_browser_and_cloud.pl
Does:
Required by: OpacBrowser system preference
Frequency suggestion:
Does:
Required by: finesMode system preference
Frequency suggestion: nightly
IMPORTANT: This script replaces the old fines2.pl, fines-ll.pl, and fines-sanop.pl scripts.
Script path:
misc/cronjobs/holds/build_holds_queue.pl
Does:Updates holds queue
Required by: Circulation >> Holds QueueFrequency suggestion: every 1-4 hrs
Script path: misc/cronjobs/longoverdue.pl
Does: allows one to specify on the command line system-wide delays for changing items to different lost statuses, and optionally charge for the item.
Required by:
Frequency suggestion:
nightly
Script path: misc/cronjobs/overdue_notices.pl
Does: prepares messages to alert patrons of overdue messages
Frequency suggestion: nightly
IMPORTANT: This script replaces the old overduenotices.pl, overduenotices-30.pl, overduenotices-csv.pl, and smsoverdues.pl scripts.
Script path: misc/cronjobs/services_throttle.plDoes: Resets counters for web services. Currently only OCLC's XISBN service is affected.
Required by: XISBN feature
Frequency suggestion: nightly
Script path: misc/migration_tools/merge_authorities.pl
Does: Updates biblio data with changes to authorities records
Required by: dontmerge system preference
Frequency suggestion: nightly
Script path: misc/cronjobs/rss/rss.pl
Does: Produces an RSS XML document for any SQL query (not used for search results RSS feed) Required by:
Frequency suggestion:
hourly
Deprecated scripts
Should not be run without modification:
Script path: misc/cronjobs/update_items.plScript path:
misc/cronjobs/smsoverdues.pl
Script path: misc/cronjobs/notifyMailsOp.pl
Script path: misc/cronjobs/reservefix.pl
Script path: misc/cronjobs/zebraqueue_start.pl
Script path: misc/cronjobs/j2a.pl

