Menu Close
    Searching for an experienced Akeneo Development Company ?

    Akeneo CRON Scheduler

    Introduction

    With the help of this module, you will have UI option for easily creating CRON jobs in Akeneo. Akeneo CRON Scheduler allows CRON jobs for daily, weekly, monthly basis. Akeneo CRON job automates your import /export process in Akeneo. You can enable custom cron by which you can add your custom cron time for the job. You can set the CRON scheduler and it will run automatically.

    Basic Requirement

    • This module works with Akeneo 2.x, 3.x, 4.x, & 5.x. Download Akeneo from here
    • This module is compatible with the Akeneo community and Enterprise(Flexibility) edition.
    • If you want to use this extension on Akeneo EE Serenity mode, please contact us.
    • For the Akeneo installation, your Akeneo server should meet these system requirements.

    Features

    • Schedule your CRON job at the base of daily, hourly weekly, and monthly.
    • The UI based CRON job, perform delete, status change operations on CRON jobs.
    • You can add your custom cron time for the job by enabling the Check Custom Cron.
    • Export/Import job will be added into the user process tracker.
    • Akeneo CRON Scheduler is compatible with the latest Akeneo version 5.0.x
    • You can automate the process with the help of Akeneo CRON job.
    • Export products with the help of CRON job to different e-commerce channel.
    • You can set a CRON scheduler for any e-commerce channel.

    Video Tutorial

    Check out the following video tutorial below:

    How to create CRON Scheduling in Akeneo?

    fmX6M8lsDjI

    Installing Module for Version 4.0.x to  5.0.x

    Please follow these steps for installing Akeneo CRON scheduler module in your Akeneo PIM platform.

    • Unzip the respective extension zip then merge “src” folder into the Akeneo project root directory.

    src-cms-1

    • Goto config/Bundles.php then add line:
       Webkul\ScheduleCronBundle\ScheduleCronBundle::class => ['all' => true],

    corn-

               in return array.

    • Copy the “config” folder into akeneo project root directory for routing.

    conf-cms-1

    • You have to navigate first to Akeneo installation directory (Ex: cd /opt/bitnami/apps/akeneo/htdocs). After SSH, you have to run the command to your Akeneo server by the terminal.
    php bin/console cache:clear--env=prod;
    php bin/console cron:setup:install --env=prod
    • If you are using php-fpm. Then you need to restart the php-fpm services and apache web server.

    sudo service php-fpm7.3 restart

    For Quick export in Akeneo 5.0.x, you need to run the below command.

    php -d memory_limit=4G /usr/local/bin/composer --prefer-dist --no-scripts require navneetbhardwaj/akeneo-quickexport-configurator;
    
    

    Installing Module for Version 2.x to 3.x

    Please follow these steps for installing Akeneo CRON scheduler module in your Akeneo PIM platform.

    • Unzip the respective extension zip then merge “src” folder into the Akeneo project root directory.

    src-cms-1

    • Goto app/AppKernel.php then add the following line in function registerProjectBundles()
      Code in AppKernel.php File
    new Webkul\ScheduleCronBundle\ScheduleCronBundle(),
    • After that goto app/config/routing.yml then add these lines at top of the file
      Code in Routing.yml file
    schedule_cron:
        resource: "@ScheduleCronBundle/Resources/config/routing.yml"
        prefix:   /
    
    • You have to navigate first to Akeneo installation directory (Ex: cd /opt/bitnami/apps/akeneo/htdocs). After SSH, you have to run the command to your Akeneo server by the terminal.
    php bin/console cache:clear--env=prod;
    php bin/console cron:setup:install --env=prod
    • If you are using php-fpm. Then you need to restart the php-fpm services.

      sudo service php-fpm7.2 restart

    Uninstalling Module Version 4.0.X

    Please follow these steps for uninstalling the  Akeneo CRON scheduler .

    1 – Goto config/Bundles.php then remove this line.

    2 –Goto config/routes then remove wk_akeneocron.yml file.

    3 – Run this command after ssh to your akeneo server by the terminal

    Uninstalling Module Version 2.X To 3.X

    Please follow these steps for uninstalling the Akeneo CRON scheduler.

    1 – Goto app/AppKernel.php then comment or remove this line.

    2 – Goto app/config/routing.yml then comment or remove these lines.

    3 – Run this command after ssh to your akeneo server by the terminal

    Common Issues After Installation

    It might happen that even after proper installation, upon opening your Akeneo admin dashboard, you see a loading screen. In that case, do check for the following solution:

    • Webpack Installation: If you get the below error Webpack error It means that web pack is not installed in your system. Run the following command
      npm install --save-prod webpack
      npm install
      
    • Module routing.yml is not configured properly. Re-check the routing.yml file as mentioned in the 3rd step of Module Installation
    • Clear your browser cache.

    Set up  Your Job Schedule

    After successfully installing the module in Akeneo, you need to set up the Akeneo CRON Scheduling in Akeneo. Please log into Akeneo and follow Schedule Cron – >Create Schedule. Here you have to fill the details.

    • Cron Name – You have to enter your CRON job profile name. You can enter any job profile name according to your choice.
      Cron Name
    • Check Custom Cron – In this you have to enable this to add your custom cron time for the job.

    custome cron

    • Interval Day – You can select interval day by which you can schedule your CRON job as  Minute, Daily, Weekly, Monthly, and Hourly.

    interval day required

    • Interval Time – You can select interval time according to your interval day like if you select the interval day as Weekly then it shows the days name.
      Cron with Interval time
    • Job Profile Name – You can see your all made job profile name you can choose the job profile name for exporting the product to the different channel.
      Akeneo Job profile name
    • Job Schedule Time – You will find two options you can select one of them according to your choice.
    • Export/Import using job Queue: If you choose this as job type you can run jobs as many as you want in parallel. It will not wait for the response of the job it runs the job in parallel.
    • Export/Import as Normal Job: If you choose this as a job type then one job will run at a time any other job will not until you will not get any response.

    export job

    Here you have to fill all the details to schedule a CRON job.

    create cron  scheduler

    Then after filling the details you have to click on the save button. If you disable the custom cron then the default values will be selected for Intervals and jobs.The Cron schedule will be updated. You can also activate and deactivate the Akeneo CRON Scheduler.

    Create Product In Akeneo

    To create a product in Akeneo, go to navigate to Products then click Create button. Now, you need to choose product type – as Product or Product Model.

    Product – Select this type for creating simple and virtual products.

    Product Model – Select this type for creating a configurable product with variations.

    create the product in Akeneo

    Now enter the required SKU, choose a family, then click the Save button.

    Product Family – A family is a set of attributes that will be the same for all products belonging to a family. The product family represents products type, imposes product information structure and defines the list of attributes for a product that it belongs.

    Create the product family

    Product List

    After creating the product in Akeneo you can check the product list. You will found all the product list created by you or exported from any channel.

    Product list in Akeneo

    Schedule a CRON Export/Import job in Akeneo

    You have to make a CRON job for your product, category, attribute in Akeneo. Then you can perform import/export with the scheduling of a CRON job.

    category export

    Now you can schedule a CRON export job in Akeneo. After that you can export/import the product different e-commerce channel, Mobile, and Print Catalog. When you schedule an export profile it will run at that time.

    time

    Execution Process:

    Wait for the execution process to complete. After the completion of the export job.

    export details

    After the successful running of the CRON job, you can check details on the Process tracker.

    proccess tracker

    Support

    So, that was much about the User Guide of Akeneo CRON Scheduler for any queries or doubts reach out to us at [email protected]. You can also raise a ticket at our HelpDesk System.

    Please explore our Akeneo Development Services and Quality Akeneo Extensions.

    Current Product Version - Akeneo CRON Scheduler 3.0.0

    Supported Framework Version - Akeneo 2.x.x & 3.x.x & 4.x.x & 5.x.x

    Blog Version - Akeneo 2.x.x & 3.x.x & 4.x.x & 5.x.x
    • Version Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, and 3.1.x
    • Version Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x and 4.0.x
    • Version Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x and 3.2.x
    • Version Akeneo 2.x.x & 3.x.x & 4.x.x & 5.x.x
    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Table of Content

    Hide Index