#!/usr/bin/ksh
#
# rsync_gbo_cleanup.ksh 
#
# Cleanup rsync log files associated with process picking
# up ASI files
#
#			Author: Tim Quinn
# 		Created: August 2009
#

#
## Set the environment variables
#
  if [[ -z $THMSOC ]]
  then
    THMSOC=/disks/socware/thmsoc_dp_current
    export THMSOC
  fi
#	. ${THMSOC}/src/config/soc_it_to_me.config
  . /home/thmsoc/astraea2_test/soc_it_to_me.config
 #. $THMSOC/src/config/ground_mag.config
	. /home/thmsoc/astraea2_test/ground_mag_test.config

#
##
## Begin Work
##
#

	find ${LOGDIR} -name IDLOUT_STACK\* -mtime +1 -exec /bin/rm -rf {} \;

#
## Cleanup
#
	exit 0