Magento extensions & Pay-as-you-go development

10 years of business 2112 reviews 4.9 average rating
User guide

Cron tasks in Magento

The cron tasks mechanism in Magento requires to understand a few basic principles:

  1. The main cron task that runs on the server triggers regularly (ideally each minute).
    bin/magento cron:run
  2. The above command analyses each cron job (configured in the different enabled modules) and for each one of them, it programs the cron tasks for a few hours ahead depending on your preferences in:
    Storeconfigurationsystem cron
  3. Then, the same command runs the cron tasks that match with the current time, flags the tasks that are too old as missed, and cleans up the history of the tasks. 

How to use Cron Scheduler on Magento 2

STEP 1: Install the Cron Scheduler extension

To install the Cron Scheduler extension in your Magento 2 back office, you need to:

  1. Before installing the extension, it's advisable to backup your Magento 2 installation.
  2. Then, you need to refresh caches in:
    SystemToolsCache Management
  3. Now, you can download the zipped extension from:
    your Wyomind accountLICENSES & DOWNLOADS
  4. Once you have downloaded it, unzip the folder content.
  5. Copy the app folder and paste it into the Magento 2 root directory. You can merge the directories.
  6. Open a console and run the following command on the Magento 2 root directory:
    bin/magento setup:upgrade​

  7. Once your installation is complete, don't forget to clear the cache and log in again.

STEP 2: Use the Cron Scheduler extension

Cron Scheduler offers three distinct views allowing to visualize and manage the cron tasks.

  • Tasks Timeline
    Chronological view of the executed and scheduled cron tasks.
  • Task list
    Grid view of the executed and scheduled cron tasks.
  • Job configuration
    Grid view of all cron jobs that generate new cron tasks.

Tasks Timeline

To display the timeline, go to:
systemcron SchedulerTasks Timeline

The timeline shows all the cron tasks executed and scheduled.

You can get more information by moving the mouse over each task mark.

Zoom in and out using the mouse wheel on the timeline.

Tasks List

To display the tasks list, go to:
systemcron SchedulerTasks list

The grid lists all the cron tasks executed and scheduled.

You can get more information by clicking on View More in the right column.

Jobs Configuration

To display the jobs configuration list, go to:
systemcron Schedulerjobs Configuration

This grid lists all the cron jobs that generate new cron tasks.

Run cron jobs

At any time you can run all cron jobs and generate new tasks from your back office, exactly like the below command line does:

bin/magento cron:run

You only have to click on run task & generate schedule from:
systemcron Schedulerjobs Configuration

Monitor the cron tasks that run in the background of your Magento® 2 website!

Visualize all cron tasks from an intuitive timeline

Visualize the cron tasks in a timeline that offers a clear and understandable view of what is going on in the background of your Magento® website.

List all cron jobs and check the configurations

Get a detailed list to all cron jobs that run under your Magento® 2 website and check the configuration for each task individually

Run and schedule cron jobs manually

No need to access the CLI to run your cron job and/or schedule new jobs.  Manually trigger the process from your Magento® back-office.

Enjoy a new CLI to manage your cron tasks

Want to get more of the cron tasks from your CLI? Cron scheduler extends the CLI to give you a better control over the cron jobs

Freqently Asked Questions
Pre-sales informations

This extension works with Magento Community Edition and also Magento Enterprise Edition. To know if Cron Scheduler is compatible with your Magento version, please check the Compatibility tab.

Cron Scheduler Free Cron Scheduler Pro

Cron tasks Timeline

Display all cron tasks on a timeline

Cron tasks list

Display all the cron tasks in a grid

Cron jobs configuration

Display all the cron job configurations in a grid

Run and schedule button

Trigger the cron process manually

Heartbeat notification

Display a notification about the healthyness of the cron jobs

Activate/deactivate cron jobs

Enable/disable each cron task individually

Cron jobs frequency update

Update the cron expression that control the cron tasks frequency

Add new jobs

Create new custom cron jobs 

Error notification by email

Notification by email when any cron task fails

Error notification in the back-office

Notification in the backoffice when any cron task fails

Run specific cron jobs manually 

Trigger any cron job manually from the admin

Access to  a new CLI

Manage the cron jobs and the cron tasks via the CLI 

Access to the API 

Trigger the cron job via the API

License and domains

A license is valid for an unlimited period of time on one single Magento installation

  • If you're using more than one Magento installation, you will have to buy a separate license for each instance.
  • if you're running several domains on a same Magento installation, you will need only one license for all of them.
Although your license doesn’t have a limited period of validity, your support period does. By purchasing an extension, you’ll be granted a 6-month support period for free. Passed this period, you will have to pay for a new one (see FAQ: Extend your Support period)

You can pre-register your live domain to your license in advance.

Thanks to this option, you'll be able to get the extension ready to use on your domain before it goes live.

To pre-register your production domain: 

  1. Go to:
    mY accountLicenses & DOwnloads
  2. Click on  next to the extension you want your domain to pre-register on.
  3. Click on the link at the bottom of the page saying:
    Do you want to pre-register your domain in order to be ready to go live?
  4. Finally, enter your domain name and click on pre-register now .
Attention, this doesn't mean your license is activated. You'll still have to activate it on your new domain when the extension is installed. 

One license is valid for an unlimited period of time on one Magento installation only. However, it is possible to extend or transfer your license in 2 cases: 

  • If you would like to add your testing environments to your license. 
    In that case, it is possible to extend your license to an unlimited number of domains for free.
    For example: mywebsite-staging.com or mywebsite-dev.com
  • If you want to transfer your license to another live domain.
    In that case, the support period for your license must still be active.

To be able to use Cron Scheduler on both your production and testing environments, follow the instructions below:

  1. Download Cron Scheduler.
    (see FAQ: Extensions download)
  2. Install Cron Scheduler on your environment.
    (see FAQ: Extensions installation)
  3. Activate the license.
    (see FAQ: Extensions activation from the backoffice or Extensions activation from the CLI)

Also, if you are managing a large amount of domains, please contact us so that we can automatically whitelist these domains.
Extension versioning and download

In order to download Cron Scheduler, log into your Wyomind account:

    1. Go to:
      my accountLicenses & downloads 
    2. Click on the  icon next to Cron Scheduler.

      A new window opens.

    3. Choose the version of Cron Scheduler.
      You will be able to choose the most recent version of Cron Scheduler (for both Magento 1 and Magento 2).
    4. Click on  .

Your download can start.

When purchasing an extension from wyomind.com, you benefit from a lifetime upgrade. You can at any time download the latest version of the extension directly from your account. 

To upgrade Cron Scheduler, follow the steps below:

  1. Go to:
    my accountLicenses & Downloads
  2. Click on  next to Cron Scheduler.
  3. Choose the latest version of Cron Scheduler (for Magento 1 and Magento 2).
  4. Click on download .
  5. Install the new version of Cron Scheduler to update your Magento admin. 

Extensions Installation/Uninstallation

You can install Cron Scheduler manually.

  1. Download Cron Scheduler (zip file) on:
    mY ACCOUNTLicenses & Downloads
     
    Refer to the FAQ: Extensions download
  2. Once Cron Scheduler is downloaded, open the folder and unzip it.
  3. Copy the content of the unzipped folder and paste all files and directories in your Magento 2 root directory.
  4. In your Command Line Interface, execute:
    bin/magento setup:upgrade 

    If you are using a production mode, execute also:

    bin/magento setup:static-content:deploy  
    bin/magento setup:di:compile  

You can install Cron Scheduler using Composer software in two cases:

  • if you purchased Cron Scheduler on Magento Marketplace.
  • if you purchased Cron Scheduler on Wyomind.com AND requested access to our repository:
    repo.wyomind.com
  1. Add to your composer configuration our repository:
    composer config repositories.wyomind composer https://repo.wyomind.com 

  2. Execute Composer command:
    composer require wyomind/cronscheduler
  3. Then go in your Command Line Interface and execute:
    bin/magento setup:upgrade ​
  4. If you are using a production mode, also execute:
    bin/magento setup:static-content:deploy  ​
    bin/magento setup:di:compile​

To uninstall Cron Scheduler, start with disabling the extension running the following command:

bin/magento module:disable Wyomind_CronScheduler

Then, you have 2 ways to uninstall the extension depending on how the extension has been previously installed: 

  • Manual installation

    Run the cronscheduler-uninstall.sh file (you can find it in the extension zip folder) from your Magento root directory:

    sh cronscheduler-uninstall.sh

     

  • Installation via Composer

    Run the below command line:

    composer remove wyomind/cronscheduler

Once the uninstallation is over, refresh your cache and enable the compiler back again (if you use it). 

You can install Cron Scheduler via Web Setup Wizard if you purchased it from Magento Marketplace only.

To know how to proceed, all steps are described in the link below: 
http://docs.magento.com/m2/ce/user_guide/system/component-manager.html

Next step is to activate your license:
Extension activation

Extensions activation

Once Cron Scheduler is installed, you have to activate the license. For previous versions, you can activate the license from your back-office:

    1. Go to your Magento admin panel. A message pops up at the top of the page.


      If the message doesn't appear then you must check that:

         1. The Adminhtml_Notifications and Wyomind_Core modules are well enabled.
         2. The HTML output of the Adminhtml_Notifications and Wyomind_Core modules are not disabled in:
      storesconfigurationadvanced advanced
         3. The encryption key well exists in app/etc/env.php:
      <?php
       return array(
       'backend' => array(
       'frontName' => 'admin'
       ),
       'crypt' => array(
       'key' => '1e8f3c6772b7a6a6689c3c8cefa4ccf0'
       ),
       /* ... */
       )
      ?>​
    2. Copy your activation key in:
      StoresConfigurationWyomind Your extension

      You can find your activation key in 2 different places:
      In the confirmation email that you received after purchasing Cron Scheduler.
      In your Wyomind account:My account Licenses & downloads
      Select Cron Scheduler and click on  .

      A new page opens where you'll find your activation key (see below).


    3. In your Magento admin go to:
      StoresConfigurationWyomind Your extension

      Paste the activation key in the Activation Key field and choose between the automatic (yes) or the manual (no) activation method:
      By choosing Yes, the connection to Wyomind license server will be automatic.
      By choosing No, you will have to log on to Wyomind license server yourself.

    4. Click on Save config .
    5. A message appears at the top of your admin panel. Click on that link: 
      Activate it now!
    6. Copy and paste the license code in the License code field from your admin or simply click on Activate now! 


    7. Finally, refresh your cache, log out and log in back straight after, to complete the installation.

When the extension includes other modules, repeat the steps described above for each one, using the corresponding activation keys (each module has its own activation key).

Add another domain to your license


To activate the license on another domain (test, staging...):

  1. Once the extension is installed on the new domain, copy your activation key in:
    StoresConfigurationWyomind Your extension
  2. After having saved the configuration, a notification appears. Click on Add this domain to my license.

  3. A transfer request will then be sent to our team within an hour.
    Once the request is taken care of, you will receive a confirmation email.
    If your transfer request is accepted, you can use Cron Scheduler on both environments at the same time.

Note that the order in which you activate your license on your domains does not matter. You can start with your staging/dev/local environment or with your live domain, the process will be the same.

Also, if you have loads of staging domains, or if you are an agency managing load of domains for your customers, please contact us so that we can automatically whitelist these domains.

Once Cron Scheduler is installed, you have to activate the license.

For this, you can use the below command line (change the Activation key with the corresponding value):

bin/magento wyomind:license:activate Wyomind_CronScheduler <YOUR_ACTIVATION_KEY>

To retrieve the list of all the available modules as well as the licenses status, please use:

bin/magento wyomind:license:status

 

 Among the different status, you can find: 

  • registered = your license is registered
  • pending = you need to run the activation command line
  • invalidated = the license has been invalidated due to a wrong activation key or a license infringement

 

To activate several licenses at the same time, use:

bin/magento wyomind:license:activate \
Wyomind_Extension1,Wyomind_Extension2 \
ACTIVATION_KEY_1,ACTIVATION_KEY_2

or:

bin/magento wyomind:license:activate \
Extension1,Extension2 \
ACTIVATION_KEY_1,ACTIVATION_KEY_2
Magento® Compatibility

Magento® Open Source

(Magento® Community Edition)

  • 2.4.3
  • 2.4.2
  • 2.4.1
  • 2.4
  • 2.3.7
  • 2.3.6
  • 2.3.5
  • 2.3.4
  • 2.3.3
  • 2.3.2
  • 2.3.1
  • 2.3
  • 2.2.9
  • 2.2.8
  • 2.2.7
  • 2.2.6
  • 2.2.5
  • 2.2.4
  • 2.2.3
  • 2.2.2
  • 2.2.11
  • 2.2.10
  • 2.2.1
  • 2.2
  • 2.1.9
  • 2.1.8
  • 2.1.7
  • 2.1.6
  • 2.1.5
  • 2.1.4
  • 2.1.3
  • 2.1.2
  • 2.1.18
  • 2.1.17
  • 2.1.16
  • 2.1.15
  • 2.1.14
  • 2.1.13
  • 2.1.12
  • 2.1.11
  • 2.1.10
  • 2.1.1
  • 2.1
  • 2.0.9
  • 2.0.8
  • 2.0.7
  • 2.0.6
  • 2.0.5
  • 2.0.4
  • 2.0.3
  • 2.0.2
  • 2.0.18
  • 2.0.17
  • 2.0.16
  • 2.0.15
  • 2.0.14
  • 2.0.13
  • 2.0.12
  • 2.0.11
  • 2.0.10
  • 2.0.1
  • 2.0

Adobe® Commerce

(Magento® Enterprise Edition)

  • 2.4.3
  • 2.4.2
  • 2.4.1
  • 2.4
  • 2.3.7
  • 2.3.6
  • 2.3.5
  • 2.3.4
  • 2.3.3
  • 2.3.2
  • 2.3.1
  • 2.3
  • 2.2.9
  • 2.2.8
  • 2.2.7
  • 2.2.6
  • 2.2.5
  • 2.2.4
  • 2.2.3
  • 2.2.2
  • 2.2.11
  • 2.2.10
  • 2.2.1
  • 2.2
  • 2.1.9
  • 2.1.8
  • 2.1.7
  • 2.1.6
  • 2.1.5
  • 2.1.4
  • 2.1.3
  • 2.1.2
  • 2.1.18
  • 2.1.17
  • 2.1.16
  • 2.1.15
  • 2.1.14
  • 2.1.13
  • 2.1.12
  • 2.1.11
  • 2.1.10
  • 2.1.1
  • 2.1
  • 2.0.9
  • 2.0.8
  • 2.0.7
  • 2.0.6
  • 2.0.5
  • 2.0.4
  • 2.0.3
  • 2.0.2
  • 2.0.18
  • 2.0.17
  • 2.0.16
  • 2.0.15
  • 2.0.14
  • 2.0.13
  • 2.0.12
  • 2.0.11
  • 2.0.10
  • 2.0.1
  • 2.0
User's reviews
Log into your account to leave your review and get up to 3 months of free support.

8th July 2021

Very usefull 1click tool

You can easily run cron job by 1 click. Never had problems with Cron Scheduler. I have a small shop and the tool meets my requirements. I add a few new products or mass-change attributes and can run cron right away when I need it. In future have to try PRO version.

Marek - Merchant - User for more than 2 years

12th June 2021

Very useful plugin

The plugin is very usufull to indentify any issue regarding Cron Job. It's really recommended to investigate a problem that block your Magento ecommerce

Andrea G. - Ecommerce Agency - User for more than 5 months

15th April 2020

Must have to monitor your site

Sometimes our cron's died, this extension is our goto.

Ollie Marshall - Developer - User for more than 2 years

9th July 2019

Must have exxtension

Great extension.It is perfect for seeing the schedule of jobs inside Magento. I used the pro version on Magento 1 for many years, I guess I'll purchase that also for Magento 2, but I started with this version to see if it is sufficient (and because I definitely did not want to miss the view on cron tasks inside Magento that this extension offers). With this extension, it is very easy to find failed tasks.On Magento 1 I have had some issues with an extension that locked the cron process, and I don't know how long it would have taken me to find that issue if I hadn't had this extension. As with all extensions: if there is any issue, Wyomind will act and resolve it very fast. For me it is a huge advantage that this is a European organisation, there is no time zone difference that causes any delay in service.

9th October 2018

I rely on this

Great extension. Used it on Magento 1 and now use it on Magento 2. Perfect for seeing the schedule of jobs and for seeing missed or failed tasks in a visual way. The timeline view is great simply click the button to run tasks and generate the schedule.

28th March 2018

how long it will take?

we asked Cron Scheduler thank you.

20th October 2017

Rock Solid Extensions

We used two of the extensions (Order Eraser and Cron Scheduler), both installed easily and work just as advertised. Even though these are free extensions, I will come back for some others paid extensions since I know I can trust these guys not to deploy untested code.

pkm32 - User for more than 4 years
Changelog
  • Cron tasks not related to any module are ignored
  • Fix for a missing constant

Enhancements

  • Better compatibility with Magento 2.4.3
  • Cron task group added to the Timeline view
  • The license is not reactivated if the module is not installed yet
  • Fix for not scheduling tasks disabled from Cron Scheduler Pro
  • Fix for compatibility with Magento 2.2.11
  • Minor fix for the Magento Marketplace

Enhancements

  • Sample data updated

Enhancement

  • Improved license management system (Clear code)

Compatibility

  • Compatibility with Magento 2.3.5

Compatibility

  • Compatibility with Magento 2.3.5 and 2.3.4
  • Minor fix for compatibility with Magento 2.3.5

Compatibility

  • Compatibility with Magento 2.3.5
  • Addition of Helper/CronScheduler (automatically generated)
  • Scenario added for the sample data
  • Better JavaScript compatibility with Magento 2.3
  • Fix on the command line to list jobs and tasks
  • Compatibility with Magento 2.2.10
  • Compatibility fix for Magento 2.3.3

Compatibility

  • Compatibility with Magento 2.2.9
Patch v1.7.1.1

  • Sample data available for the demo

Enhancement

  • Improved compatibility with 2.3, 2.3.1, 2.2.7, 2.2.8
Patch v1.7.0.4

  • Fix for the echo in the templates

Patch v1.7.0.3

  • PHP fix

Patch v1.7.0.2

  • Minor fix on code

Patch v1.7.0.1

  • Fix for a PHP error

Compatibility

  • Compatible with Magento 2.2.7
Patch v1.6.0.2

  • Compatibility with Magento 2.2.8

Patch v1.6.0.1

  • Timezone conversion for Magento 2.2 and ui file for Magento 2.1
  • Fix on typos and code checking

Enhancement

  • Disabled tasks are not scheduled for Cron Scheduler Pro

Enhancement

  • Better management of errors linked to "mcrypt" php functions
Patch v1.5.1.1

  • Minor fix on file

Compatibility

  • Compatibility with Magento 2.2.6
Patch v1.5.0.3

  • Management of the "Area code is already set" error for Magento latest versions

Patch v1.5.0.2

  • JS fix

Patch v1.5.0.1

  • Fix on JS script

Enhancement

  • Magento v2.2.5 compatibilty
Patch v1.4.0.1

  • Fix for Magento Cloud installations

Improvement

  • Depending on the Magento system version some files are now activated on the setup/recurring script and not in the setup/upgradeData script anymore
Patch v1.3.1.1

  • Minor fix on files

Enhancement

  • Files are now automatically updated depending on the Magento version while installing the module
Patch v1.3.0.3

  • Useless files removed

Patch v1.3.0.2

  • Fix the command line scripts to avoid any issue with a setup:upgrade command

Patch v1.3.0.1

  • Fix for the dependencies: Magento_Cron is loaded before Wyomind_CronScheduler

Compatibility

  • Compatibility with Magento v2.2

Enhancements

  • Magento v2.2.1 compatibilty

Enhancements

  • Better display of the command lines 

Bug fix

  • Layout fixed

Compatibility

  • Compatibility with Magento v2.0.x, v2.1.x and v2.2.x 
Patch v1.0.1.5

  • Fix for the di compilation

Patch v1.0.1.4

  • Code snippet removed for Gihtub release

Patch v1.0.1.3

  • Server date used rather than the JS date

Patch v1.0.1.2

  • Fix for the CLI 

Patch v1.0.1.1

  • Fix for the ACL

First public release

Patch v1.0.0.3

  • Server date used rather than the JS date

Patch v1.0.0.2

  • Fix for the CLI 

Patch v1.0.0.1

  • Fix for the ACL

Demo store
Front-end
Back-end
Login
CronScheduler
Password
CronScheduler123

Stay tuned and get a coupon code of 10% off any purchase while creating your account!

Subscribe now for updates, promotions and products launch twice a month at most.

Please indicate a valid email