#!/bin/sh

cd $BIZXCLIENT_HOME/bin

JAR_DIR=.
JAR_FILES=
JAR_FILES=$JAR_FILES:$JAR_DIR/bizx-cleaner.jar
JAR_FILES=$JAR_FILES:$JAR_DIR/commons-dbcp-1.2.1.jar
JAR_FILES=$JAR_FILES:$JAR_DIR/commons-pool-1.3.jar
JAR_FILES=$JAR_FILES:$JAR_DIR/log4j-1.3alpha-8.jar
JAR_FILES=$JAR_FILES:$JAR_DIR/ojdbc14.jar
CLASSPATH=$JAR_FILES

$BIZXJAVA_HOME/bin/java \
  -classpath $CLASSPATH \
  -DConfigFileName=bizxcleaner.properties \
  jp.webedi.sfi.bizx.cleaner.cleaner.BizXCleanerMain 2 >/dev/null 2>&1

