JBAS-1501 Audit purge for CRONTAB; minor rearranging
authorBill Erickson <berickxx@gmail.com>
Fri, 2 Sep 2016 19:09:10 +0000 (15:09 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/utility-scripts/CRONTAB

index 92bc298..ede59bb 100644 (file)
@@ -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