Advertisement
vitvayti

dip8 - Запуск импорта вручную

Jun 16th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. //title: Запуск импорта вручную
  2. CModule::IncludeModule('cbs39.paneldebase');
  3. use Bitrix\Main\Config\Option;
  4. $manager = New CPaneldebase;
  5. Option::set("cbs39.paneldebase", "import1_step_stat", "WAITING" );
  6. Option::set("cbs39.paneldebase", "import1_cur_step", "FINISH" );
  7. $manager->StartImport1();
  8.  
  9. //title: Запуск импорта вручную с места обрыва
  10. CModule::IncludeModule('cbs39.paneldebase');
  11. use Bitrix\Main\Config\Option;
  12. $manager = New CPaneldebase;
  13. Option::set("cbs39.paneldebase", "import1_step_stat", "WAITING" );
  14. $manager->DoImport1();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement