How to use the connector?

#How to trigger import jobs?

#Where to find import jobs in Magento 2?

Once Akeneo Connector for Magento 2 is installed in your Magento 2 instance:

  1. Open the SYSTEM menu
  2. Then click on Import in Akeneo Connector:

Connector job menu

#How to manually trigger each job?

  1. Select the job you want to run (import type),
  2. Then click on the Import button to trigger the selected job,
  3. Wait until the process ends.

Connector jobs page

The Job import process is completed when its status changes to Import complete in the console window.

If it fails, you could see a red error in the console window. Please take a screenshot of the console window: you will probably need it to communicate with your technical team or to open a ticket for our Support team via our Helpdesk platform (Akeneo Connector for Magento 2 Enterprise Edition only).

#How to automatically trigger each job?

You can set cron tasks for your Akeneo Connector for Magento 2 through configuration for each import jobs.

Set your cron expression in your crontab according to this example:

0 22 * * * /usr/bin/php /path/to/magento/current/bin/magento akeneo_connector:import --code=import-type >> /path/to/magento/current/var/log/akeneo_connector_import_type.cron.log`

You can also launch an import job directly from command line:

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

Replace import-type with any of these jobs:

  • category
  • family
  • attribute
  • option
  • product

Product model and Family variant jobs has been removed since the 101.0.0 version of the Akeneo Connector for Magento 2 and merged into the Product job

If you are using a version of the connector older than 101.0.0, you can trigger the Product Model and the Family Variant job using these codes : product_model / family_variant

You can also launch multiple imports with command line:

php bin/magento akeneo_connector:import --code=import-type1,import-type2,import-type3

#How to check that all jobs have been executed properly?

  1. Open SYSTEM menu.
  2. Click on Log in Akeneo Connector:

Connector Logs menu

Here, you will find the list of import jobs that have been executed until now. You could check the status of each job while browsing this list.

Connector jobs history page

If you experience an error with one of the connector jobs: click on the red ERROR button in Status column. Then take a screenshot of the console window. You can give it to your technical team for analysis.

Connector console window