Beispiel #1
0
 public function cronProductsSync()
 {
     Configuration::updateValue('NB_PRODUCTS_LAST', '0');
     EbaySynchronizer::syncProducts(EbayProductModified::getAll(), Context::getContext(), $this->ebay_profile->id_lang, 'CRON', 'CRON_PRODUCT');
     EbayProductModified::truncate();
     Configuration::updateValue('DATE_LAST_SYNC_PRODUCTS', date('Y-m-d H:i:s'));
 }
Beispiel #2
0
 public function cronProductsSync()
 {
     EbaySynchronizer::syncProducts(EbayProductModified::getAll(), Context::getContext(), $this->ebay_profile->id_lang, 'CRON', 'CRON_PRODUCT');
     EbayProductModified::truncate();
 }