This commit is contained in:
paoloar77
2024-06-20 09:22:18 +02:00
parent 1d076d87fb
commit 7d56319173
3 changed files with 7 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ class ProductUpdateGm extends Command
set_time_limit(0);
ini_set("memory_limit", "512M");
$settingora = Setting::where('key', 'update_products')->first();
$productLogger = new ProductLogger($settingora, 'updateproducts');
$productLogger = new ProductLogger($settingora, 'updateproducts', true);
$productLogger->addLog('inserted', 'PRODOTTI INSERITI' . "\n");
$productLogger->addLog('not_inserted', 'EVENTUALI PRODOTTI NON INSERITI' . "\n");
$productLogger->addLog('updated', 'PRODOTTI AGGIORNATI' . "\n");