Home

Awesome

Magento 2 Cron Schedule extension Free

Cron Schedule from Mageplaza is one of the most utility which helps you to execute tasks with no effort from the admin panel. The extension prevents errors from popping up, avoid interruption as well as create a smooth flow for your store’s performance.

1. Documentation

2. FAQ

Q: I got an error: Mageplaza_Core has been already defined

A: Read solution here

Q: I would like to locate our Fanpage on any places on the sites. Is it possible?

A: Yes. Please create Facebook Widget from Block section from the backend, then embed it on any CMS page or block.

Q: What can I do with Cron Jobs Grid?

A: You can view all available cron jobs details at the Cron Jobs Grid, including cron job code, group name, activation status, instance classpath, job method, time schedule, and action. Also, you can edit quickly the cron jobs you created from this grid. Besides, the extension supports mass actions such as delete, change status, and execute.

Q: What can I see at Cron Jobs Log?

A: You can view all states of any cron tasks. You will be well-notified when a cron task gets Error, Missed, Pending, Running, Success. If the process has the problems, the log will display a message containing all error details, and you can identify and resolve to make it run properly.

Q: Can I schedule to clear the log frequently?

A: Yes, of course. At the admin backend, you can define the time to clean up the log frequently such as every 10 minutes, every 30 minutes, etc. to keep the record neat.

Q: What are the benefits of Cron Jobs Timetable?

A: Cron Jobs Timetable gives you the power to manage cron tasks visually in chronological order. Color bars are used to mark the scheduled time and notice the state of running cron jobs, for example, red for errors, blue for pending, purple for running, green for success. When hovering over a particular bar, a detail box will appear for you to see more details.

Q: When there are errors, how can I know?

A: There will be a notification about cron errors sent to you quickly if you turn on Backend Notification and Email Notification.

Q: Can I run cron jobs manually?

A: Yes, at the Cron Jobs Grid, please choose cron jobs and click on Execute at Action box.

3. How to install Cron Schedule extension for Magento 2

Install via composer (recommend)

Run the following command in Magento 2 root folder:

composer require mageplaza/module-cron-schedule
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

4. Highlight Features

Monitor all cronjobs at the admin panel

From the backend, store admins can track and manage the scheduled cron jobs from a separate listing grid. It is flexible to access the grid to monitor cron jobs details including cron job code, group name, activation status, instance classpath, job method, time schedule, and action. The cron jobs grid provides an overview of all available cron tasks. Admins can make a quick edit to the cron jobs created before from this grid.

Imgur

Admins can also perform mass actions on cron tasks or on selected ones, including deleting, changing the status of cron tasks without any difficulties.

Record all states of a cron task

Imgur

Another outstanding feature of Cron Schedule is that it allows recording and updating all status of a cron task in History Log.

Store admins will be notified by the Cron Jobs Log when there are action states, including Error, Missed, Pending, Running, and Success. If there are any problems, a message showing all details of errors will be displayed on the log. Admins can reconfigure to solve the problem.

Make cron tasks visual in a timetable

Imgur

It is necessary to arrange and display cron jobs with different schedule time and status in an easy-to-follow and logical way, which helps store admins to manage the cron jobs grid easily. Cron Timetable and Table wisely display all cron tasks in chronological order with fully setting dates and time of each cron task.

Notably, each of the cron tasks is set up along with a specific color bar showing the visual status, which makes it easier for store admins to identify the state. For example, red color illustrates errors, blue color for pending, purple for running, and green for success. In case, tasks affect each other; admin can easily define and timely modify them.

Manually carry out cron jobs

Imgur

Cron jobs can be run smoothly by applying "Execute" at the Action box. Manual execution makes the process of updating cron tasks more active and straightforward for store admins.

5. More Features

Multiple Actions

Remove, execute, or change the status of various cron jobs at once

Backend notification

Enable/ Disable notifications at the backend if cron get errors or missed out

Notification emails

Enable/ Disable email notification to admin when cron jobs get errors or missed out

Email schedule

Schedule auto-send emails

Automatically clear log

Set time to automatically clear up the log (such as every 30 minutes, etc.)

Multiple store views

View and manage cron jobs at various store views at Cron Jobs grid or timetable.

6. Full Features Lists

Configuration

Cron Jobs Grid

Create/ Edit Cron Jobs

Cron Jobs Log

Cron Jobs Timetable

7. User Guide

How to use

Admin can receive notification message when running cron job gets error:

Email admin when running cron jobs, Missed and Error:

Show detail Cron Job when hovering on green bars - Crons run successfully

Show detail Cron Job when hovering on blue bars - Crons are waiting for approval to run

Show detail Cron Job when hovering on red bars - Crons run failed

Show detail Cron Job when hovering on red bars - Crons are miss run

Show detail Cron Job when hovering on purple bars - Crons are running

How to Configure

From the Admin Panel, go to System > Cron Schedule > Configuration

1. Configuration

From the Admin Panel, go to System > Cron Schedule > Configuration, select General

2. Grid

There are three methods to run Cron manually:

Note:

From the Admin Panel, go to Stores > Configuration > Advanced > System > Cron, change it in the field Missed If Not Run Within

2.1. Manage Cron Jobs

From the Admin Panel, go to System > Cron Schedule > Manage Cron Jobs

2.2. Create New Cron Jobs

From the Admin Panel, go to System > Cron Schedule > Manage Cron Jobs, select Add New

3. Cron Jobs Log

4. Cron Jobs Timetable

From the Admin Panel, go to System > Cron Schedule > Cron Jobs Timetable

8. License

From June 23th 2019, this extension is licensed under the MIT License