old-extraction/bin/cnblog_q_solve.sh

18 lines
598 B
Bash

#!/bin/bash
SITE='cnblog_q_solve'
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.CNblogQSolve_Extractor >>/home/song/hx/new_osseanextractor/log/${SITE}.log 2>&1 &