From: Bill Erickson Date: Fri, 2 Sep 2016 19:09:10 +0000 (-0400) Subject: JBAS-1501 Audit purge for CRONTAB; minor rearranging X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bbce1ce5694671f6fa96d708db7469deadcdb107;p=working%2FEvergreen.git JBAS-1501 Audit purge for CRONTAB; minor rearranging Signed-off-by: Bill Erickson --- diff --git a/KCLS/utility-scripts/CRONTAB b/KCLS/utility-scripts/CRONTAB index 92bc2989ca..ede59bb958 100644 --- a/KCLS/utility-scripts/CRONTAB +++ b/KCLS/utility-scripts/CRONTAB @@ -20,29 +20,33 @@ PGHOST = localhost # hold targeter */1 * * * * . ~/.bashrc && $EG_BIN/hold_targeter.pl $SRF_CORE 2> /dev/null +# Recurring A/T event firing. Runs every 2 minutes +*/2 * * * * . ~/.bashrc && $EG_BIN/action_trigger_runner.pl --osrf-config $SRF_CORE --run-pending + # Run the hold thawer 5 0 * * * . ~/.bashrc && $EG_BIN/thaw_expired_frozen_holds.srfsh -# Generate fines -30 3 * * * . ~/.bashrc && $EG_BIN/fine_generator.pl $SRF_CORE - # Custom reshelving completer to avoid statement timeout 0 1 * * * cd $SCRIPT_DIR/reshelving/ && ./reshelving.sh # Extend Patron Expiration Date based on activity 15 0 * * * cd $SCRIPT_DIR/patron_activity/ && ./patron_activity.sh +# Run the audit tables maintenance script +30 0 * * * . ~/.bashrc && cd $SCRIPT_DIR/purge_auditor && ./purge-auditor.sh + +# Generate fines +30 3 * * * . ~/.bashrc && $EG_BIN/fine_generator.pl $SRF_CORE + # create the list of blocked patrons for offline use # Note: The resulting list.txt file needs to be copied to all Apache servers 30 6 * * * . ~/.bashrc && $EG_BIN/offline-blocked-list.pl $SRF_CORE > $OPENILS/var/web/standalone/list.txt -# overdues and predues -5 2 * * * . ~/.bashrc && cd $SCRIPT_DIR/overdue/ && ./run_overdues.sh -# holes +# hold notices 5 0 * * * . ~/.bashrc && cd $SCRIPT_DIR/overdue/ && ./run_holds.sh -# General A/T event firing. Runs every 2 minutes (signed off: Bill) -*/2 * * * * . ~/.bashrc && $EG_BIN/action_trigger_runner.pl --osrf-config $SRF_CORE --run-pending +# overdues and predues notices +5 2 * * * . ~/.bashrc && cd $SCRIPT_DIR/overdue/ && ./run_overdues.sh # batch job to delete empty volumes daily ESI/Galen Charlton 2011-04-21 20 0 * * * . ~/.bashrc && cd $SCRIPT_DIR/del_empty_vol && ./run_empty_vol_delete.sh