日期:2014-05-17 浏览次数:20904 次
public class mailUtil() extends Thread{
private boolean flag = true;
public viod run(){
while (this.flag){
int temp = 0;
method1();
temp++;
Thread.sleep(3600000L);
while(true){
method2();
Thread.sleep(3600000L);
if(temp1==23){
break;
}else{
temp++;
}
}
}