joe 3 年之前
父節點
當前提交
2f8873c887
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      tw/command/Maintain.php

+ 4 - 1
tw/command/Maintain.php

@@ -320,7 +320,8 @@ class Maintain extends Command
      */
     protected function robot_init()
     {
-        return Robots::to_redis();
+        Robots::to_redis();
+        infolog('robots created.');
     }
 
     /**
@@ -330,6 +331,7 @@ class Maintain extends Command
     {
         Robots::order();
         (new UserBoardController)->cache_board();
+        infolog('robot make orders');
     }
 
     /**
@@ -338,6 +340,7 @@ class Maintain extends Command
     protected function robot_reset()
     {
         Robots::to_redis();
+        infolog('robot reset');
     }
 
     /**