public static void main(String[] args) throws ParseException, Exception {
    DBPoolFactory.getInstance().init("file:/usr/tools/config/db/db-zztask-jdbc.properties");

    EdmXianhuoTask task = new EdmXianhuoTask();
    EdmXianhuoTask.DB = "ast";
    task.exec(DateUtil.getDate("2012-11-02", "yyyy-MM-dd"));
  }
  public static void main(String[] args) throws Exception {

    DBPoolFactory.getInstance().init("file:/usr/tools/config/db/db-zztask-jdbc.properties");

    Date baseDate = DateUtil.getDate("2013-01-31", "yyyy-MM-dd");

    CrmCsInfoUpdateTask obj = new CrmCsInfoUpdateTask();
    obj.exec(baseDate);
  }
 public static void main(String[] args) {
   DBPoolFactory.getInstance().init("file:/usr/tools/config/db/db-zztask-jdbc.properties");
   CorrectIntegralTask ciLog = new CorrectIntegralTask();
   //		ciLog.DB_NAME="ast_test";
   try {
     long start = System.currentTimeMillis();
     ciLog.clear(DateUtil.getDate(new Date(), DATE_FORMAT));
     ciLog.exec(DateUtil.getDate(new Date(), DATE_FORMAT));
     long end = System.currentTimeMillis();
     System.out.println("共耗时:" + (end - start));
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
 public static void main(String[] args) throws Exception {
   DBPoolFactory.getInstance().init("file:/usr/tools/config/db/db-zztask-jdbc.properties");
   VIPDataImportTask obj = new VIPDataImportTask();
   Date date = DateUtil.getDate("2012-04-20", "yyyy-MM-dd");
   obj.exec(date);
 }