Browse Source

压缩完成后删除sqlite文件

visuddhinanda 2 years ago
parent
commit
1653adbab7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Console/Commands/ExportOffline.php

+ 1 - 0
app/Console/Commands/ExportOffline.php

@@ -130,6 +130,7 @@ class ExportOffline extends Command
                     ];
                     ];
         RedisClusters::put('/offline/index',$info);
         RedisClusters::put('/offline/index',$info);
         unlink($exportStop);
         unlink($exportStop);
+        unlink($exportFullFileName);
 
 
         Log::debug('zip file {filename} in {format} saved.',
         Log::debug('zip file {filename} in {format} saved.',
                     [
                     [