Procházet zdrojové kódy

:fire: 译文进度 add 导出离线数据

visuddhinanda před 2 roky
rodič
revize
8ba9301935
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. 6 1
      app/Console/Commands/UpgradeDaily.php

+ 6 - 1
app/Console/Commands/UpgradeDaily.php

@@ -67,6 +67,7 @@ class UpgradeDaily extends Command
         $message .= "community.term:{$time}; ";
         $currTime = time();
 
+        /*
         #译文进度
         $this->call('upgrade:progress');
         $time = time()-$currTime;
@@ -82,7 +83,11 @@ class UpgradeDaily extends Command
         $this->call('upgrade:wbw.analyses');
         $time = time()-$currTime;
         $message .= "wbw.analyses:{$time}; ";
-
+*/
+        # 导出离线数据
+        $this->call('export:offline',['format'=>'gz']);
+        $time = time()-$currTime;
+        $message .= "export:offline:{$time}; ";
 
         $time = time()-$start;
         $message .= "总时间:{$time}; ";