# ENVIRONMENT:
# First, establish Evergreen ENV variables.
#
-OPENILS = /openils
-SRF_CORE = /openils/conf/opensrf_core.xml
-EG_BIN_DIR = /openils/bin
+OPENILS = /openils
+SRF_CONF_DIR = /openils/conf
+SRF_CORE = $SRF_CONF_DIR/opensrf_core.xml
+SRF_CONF = $SRF_CONF_DIR/opensrf.xml
+EG_BIN_DIR = /openils/bin
+OPENILS_WEB = /openils/var/web
# crontab format:
# m h dom mon dow command
# Run the hold thawer
5 0 * * * $EG_BIN_DIR/thaw_expired_frozen_holds.srfsh
+# Run the holds purger
+# Before enabling, setup Global Flag settings for Purge Holds.
+#5 10 * * 1-5 $EG_BIN_DIR/purge_holds.srfsh
+
# Generate fines
30 0 * * * $EG_BIN_DIR/fine_generator.pl $SRF_CORE
20 3 1 * * $EG_BIN_DIR/action_trigger_runner.pl --granularity monthly --process-hooks --run-pending
25 3 1 1 * $EG_BIN_DIR/action_trigger_runner.pl --granularity yearly --process-hooks --run-pending
+# Action Trigger Aggregator
+# Combines a group of events and outputs them to one file.
+# Must be customized before running.
+# 15 7 * * 1-5 $EG_BIN_DIR/action_trigger_aggregator.pl --event-defs <event_defs> --end-date <end_date> --output-file=output.csv
+
# Sitemap Generator - added in 2.7
-# 12 2 * * * cd $OPENILS/var/web && $EG_BIN_DIR/sitemap_generator --lib-hostname http://catalog.example.org
+# 12 2 * * * cd $OPENILS_WEB && $EG_BIN_DIR/sitemap_generator --lib-hostname http://catalog.example.org --config-file=$SRF_CONF