old-extraction/bin/stackoverflow_q.sh

17 lines
597 B
Bash

#!/bin/bash
SITE='stackoverflow_q'
find /home/song/hx/new_osseanextractor/target/classes -name "*.xml"|xargs rm -f
tmp='/home/song/hx/new_osseanextractor/bin/resources'
tmp='/home/song/hx/new_osseanextractor/target/classes':$tmp
tmp='/home/song/hx/new_osseanextractor/target/osseanextractor-0.0.1-jar-with-dependencies-without-resources/*':$tmp
CLASSPATH=$tmp:$CLASSPATH
JAVA_OPTS="-Xms256m -Xmx256m -Xmn128m"
echo $CLASSPATH
java $JAVA_OPTS -DlogFilePath=${SITE} -classpath $CLASSPATH net.trustie.extractor.StackOverflow_Extractor >>/home/song/hx/new_osseanextractor/log/${SITE}.log 2>&1 &