JBAS-258 CRONTAB repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 18 Dec 2014 18:52:24 +0000 (13:52 -0500)
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 b1017c6..80f6b7d 100644 (file)
@@ -24,10 +24,10 @@ PGHOST     = localhost # change for cluster install
 30 3 * * *   . ~/.bashrc && $EG_BIN/fine_generator.pl $SRF_CORE
 
 # Custom reshelving completer to avoid statement timeout
-0 1 * * *   $SCRIPT_DIR/reshelving/reshelving.sh
+0 1 * * *   cd $SCRIPT_DIR/reshelving/ && ./reshelving.sh
 
 # Extend Patron Expiration Date based on activity
-15 0 * * * $SCRIPT_DIR/patron_activity/patron_activity.sh
+15 0 * * * cd $SCRIPT_DIR/patron_activity/ && ./patron_activity.sh
 
 # create the list of blocked patrons for offline use
 # Note: The resulting list.txt file needs to be copied to all Apache servers