@Override
    public void run() {
        seedList.clear();

        Mysql mysql = new Mysql();
        boolean clearRst = mysql.clearTable("app_engine_news");
        if(clearRst)
            MyLog.logINFO("Table has been cleared right");
        else
            MyLog.logINFO("Table cleared wrong!");

        PropertiesUtil.loadFile("cmsConfig.properties");
        String IP_PORT = PropertiesUtil.getPropertyValue("IP_PORT");
        String apiKey = PropertiesUtil.getPropertyValue("apiKey");

        File file = new File(seedDestination);
        BufferedReader br = null;
        try {
            br = new BufferedReader(new FileReader(file));
            String seed;
            while((seed=br.readLine())!=null){
                seedList.add(seed);
            }
            br.close();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
        MyLog.logINFO("seeds loaded!");

        ExecutorService pool = ThreadPool.getThreadPool(30);
        for(String seed:seedList){
            MyLog.logINFO("getting seed:" + seed);
            pool.execute(new Crawl(seed,IP_PORT,apiKey));
            MyLog.logINFO("this seed is over");
        }
        MyLog.logINFO("all the seeds has been crawled");
    }