Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 611 Bytes

pimgento_cron.md

File metadata and controls

29 lines (21 loc) · 611 Bytes

Cron setup

Schedule my tasks :

You can configure crontask through configuration for each import. To do so :

  • 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 >> /path/to/magento/current/var/log/pimgento_import_type.cron.log`

Command line :

You can also launch import directly with command line :

php bin/magento pimgento:import --code=import-type

With import-type:

  • category
  • family
  • attribute
  • option
  • product_model
  • family_variant
  • product