#!/usr/bin/csh

# update_zoo_data_cache.csh
# December 5, 2004.  rcg Comment out deleting of square meter cache files
#	since plan on running applications twice a week to see if updates
#	from URI's machine work better.
# March 10, 1999  rcg  Add -f option to rm command.

# Runs the update_zoo_data_cache.pl script
# Needed to get around the desire to redirect output and defgb
# not liking the redirection.

echo "Starting update_zoo_data_cache.pl program"
date

##echo "Delete raw count cache files manually to insure fresh load"
##/usr/bin/rm -f /tmp/sqlplus_zoo_raw_counts.conf*.cache

##echo "Delete cubic meter cache files manually to insure fresh load"
##/usr/bin/rm -f /tmp/sqlplus_zoo_cubic_meter.conf*.cache

##echo "Delete square meter cache files manually to insure fresh load"
##/usr/bin/rm -f /tmp/sqlplus_zoo_square_meter.conf*.cache

echo " "
date
/data/pgarrahan/dbaccess/scripts/update_zoo_data_cache.pl > /dev/null
echo " "
date
echo " "
echo "Contents of log file:"
cat /tmp/update_zoo_data_cache.log

