From 82fc68afa3c60934829cf2bf16de24da8094fe39 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sat, 26 Feb 2022 16:46:49 +0800 Subject: [PATCH] send missing dos to vt --- app/Console/Commands/EmailDoToVTCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/EmailDoToVTCommand.php b/app/Console/Commands/EmailDoToVTCommand.php index 1d50f27c..2dc455b4 100644 --- a/app/Console/Commands/EmailDoToVTCommand.php +++ b/app/Console/Commands/EmailDoToVTCommand.php @@ -51,13 +51,13 @@ class EmailDoToVTCommand extends Command public function handle() { - Log::info('success'); Auth::login(User::findOrFail(1)); $zip_file = 'do_'.Carbon::yesterday()->format('Y_m_d').'.zip'; $attachment = storage_path().'/'.$zip_file; $startDate = Carbon::parse('20-02-2022'); $endDate = Carbon::yesterday(); + Log::info('success'); $zip = new ZipArchive(); if ($zip->open($attachment, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE)) {