Annexe K. Cron Jobs

Table des matières

1. Cron Jobs
1.1. Search
1.2. Fines
1.3. Circulation
1.4. Notices
1.5. In Processing/Book Cart
1.6. Catalog
1.7. OPAC
1.8. Deprecated scripts
2. Additional Information

1. Cron Jobs

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/ for these files if you cannot find them in misc/

1.1. Search

Script path: misc/migration_tools/rebuild_zebra.pl

Does: Updates Zebra indexes with recently changed data.

Required by: Zebra

Frequency suggestion: every x minutes, (between 5-15 minutes) depending on performance needs

1.2. Fines

Script path: misc/cronjobs/fines.pl

Required by: finesMode system preference

Frequency suggestion: nightly

1.3. Circulation

1.3.1. Holds Queue

Script path: misc/cronjobs/holds/build_holds_queue.pl

Does: Updates holds queue report

Required by: Holds Queue Report

Frequency suggestion: every 1-4 hours

1.3.2. Long Overdues

Script path: misc/cronjobs/longoverdue.pl

Does: allows one to specify delays for changing items to different lost statuses, and optionally charge for them.

Required by: Frequency suggestion: nightly

1.4. Notices

1.4.1. Message Queue

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.

Frequency suggestion: nightly

1.4.2. Advanced Notice

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

Note

This script does not actually send the notices. It queues them in the message queue for later

1.4.3. Overdue Notice

Script path: misc/cronjobs/overdue_notices.pl

Does: prepares messages to alert patrons of overdue messages

Frequency suggestion: nightly

Note

This script does not actually send the notices. It queues them in the message queue for later

1.5. In Processing/Book Cart

Script path: misc/cronjobs/cart_to_shelf.pl

Does: Updates all items with a location of CART to the item's permanent location.

Required by: NewItemsDefaultLocation, InProcessingToShelvingCart, & ReturnToShelvingCart system preferences

Frequency suggestion: hourly

1.6. Catalog

1.6.1. Check URLs

Script path: misc/cronjobs/check-url.pl

Does: checks URLs in 856$u field. Script output can now be formatted in CSV or HTML. The HTML version links directly to MARC biblio record editor.

Frequency suggestion: monthly

1.6.2. Merge Authorities

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

1.6.3. Serials Update

Script path: misc/cronjobs/serialsUpdate.pl

Does: checks if there is a "late" issue on active subscriptions, and if there is, the script will set it as late, and add the next one as expected.

Frequency suggestion: nightly

1.7. OPAC

1.7.1. RSS Feeds

Script path: misc/cronjobs/rss/rss.pl

Does: Produces an RSS XML document for any SQL query (not used for search results RSS feed)

Frequency suggestion: hourly

1.7.2. Authorities Browser

Script path: misc/cronjobs/build_browser_and_cloud.pl

Does: Generate content for authories browse in OPAC

Required by: OpacBrowser system preference

1.8. Deprecated scripts

These should not be run without modification:

Script path: misc/cronjobs/update_items.pl

Script 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