Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 623 Bytes

pimgento_cron.md

File metadata and controls

25 lines (16 loc) · 623 Bytes

PIMGento2 Cron

About it:

You can configure crontask through configuration for each import. You just need:

  • Set your cron expression in your crontab following this exemple:
0 22 * * * /usr/bin/php /path/to/magento/current/bin/magento pimgento:import --code=import-type --file=filename.csv >> /path/to/magento/current/var/log/pimgento_import_type.cron.log`

Technical stuff you should know about:

Command line

you can also launch import with command line:

php bin/magento pimgento:import --code=product --file=product.csv