xiatian hai 2 semanas
pai
achega
1eecdbe6df
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/main/java/cn/com/qmth/im/DeleteQuestionMulti.java

+ 2 - 0
src/main/java/cn/com/qmth/im/DeleteQuestionMulti.java

@@ -20,6 +20,8 @@ public class DeleteQuestionMulti {
         try {
             DeleteQuestionProducer producer = new DeleteQuestionProducer();
             producer.startDispose(8);
+            // Process process = Runtime.getRuntime().exec("cmd /c shutdown -s
+            // -t 600");//十分钟后关机
         } catch (Exception e) {
             logger.error(e.getCause(), e);
         }