The scheduler in feed® is used to set up scheduled jobs, in the image below for importing data from NOBB.
Here, you can see an overview of the created jobs, including the job name, job type, status (whether it is active), whether the last job started successfully or not, as well as the time of the previous and next run.
On the far right, there are icons to activate/deactivate the job, as well as an icon to view the history of previously executed jobs, showing whether they started successfully or not.
However, you must first create a job if one hasn't already been created by clicking the "+" icon in the lower right corner.
- Start by giving the job a clear and descriptive name to easily identify it in the job overview
- Choose "NOBB Import" as the job type. The available types here depend on the active modules in feed®.
- Select the correct configuration for the NOBB-Import module that you wish to use.
- You can either directly enter the cron expression if you're familiar with the syntax or use the helper function (explained in step 6) to build it.
- If you are modifying an existing job, you can click "Update cron expression" to open the helper function and adjust when and how often the job should run.
- This function assists in defining the cron expression, specifying when and how often the import from NOBB should be executed.
- Ensure you click "Save selected cron expression" to apply it before proceeding to create the job.
- Finally, click "Create" to save and activate the scheduled import job.
Initial import
Scheduled jobs that run regularly will typically only import products that have changed in NOBB since the last run. During the first run, all products marked for NOBB import (and that have a NOBB number) will be imported. Depending on the number of products and how many images and documents they contain, this initial job may take a long time to complete.
This could result in subsequent runs being interrupted because the first job is still running. This is completely normal. Once the initial job is finished, subsequent jobs will run as scheduled and will only include any changes that have occurred in NOBB since the last successful job.
New products after initial import
Since a scheduled job only imports products that have been changed in NOBB after the last completed import, newly marked products in feed® for NOBB import will not be imported if they haven't been modified in NOBB since the last import job ran.
Therefore, it is crucial that when you add new products as import products from NOBB, you perform a manual import the first time to bring these products into feed®. After this initial import, the scheduled job will ensure that any future changes are automatically imported. If you forget this step, the product will not be updated in feed® until the product owner makes changes to it in NOBB.