...
- Manually copy cli directory from the module archive to the directory where admin folder is located.
- To automatically update products on a schedule, you need to set up cron job to run with a frequency equal to or less than the value of product update launch period (this is Update interval parameter in module settings - update interval in minutes).
- example Example of running cron job every hour:
@hourly cd "opencart directory"/cli && php7.4 otapi_import_cli.php > /dev/null 2>&1 - Importing a large number of goods can take a long time - from several hours to several days, depending on server computing resources, especially database server. Therefore, too frequent launch intervals do not make sense: if the previous import has not yet been completed, the new one will still not be launched.
...