/**
*
*/
public void run() {
try{
SPDAO tempThreads=new SPDAO();
String strArray[]=FileOperate.readFile(new FileOperate().getConfigFilePathForEvery()+"/DBConfig.xml").split("#");
String tempFlag=strArray[21];
while(true)
{
if("0".equals(tempFlag)){
System.out.println(tempThreads.getTodayResult()+"|mmscat");
}else if("1".equals(tempFlag)){
System.out.println(tempThreads.getTodayResultForSMSCat()+"|smscat");
}
System.out.println();
Thread.sleep(5000);
}//end while