mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 21:43:57 +00:00
send missing dos to vt
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user