Cron Manager
Module: Magenx_CronManager · admin only, no storefront or GraphQL part
Cron Manager shows every cron job on the installation, Magento’s own and every other module’s, in one grid. From there you can switch jobs on and off, reschedule them, run them by hand, and see on a timeline what cron did and will do. It can also alert you when runs fail, are missed or get stuck.

Features
Section titled “Features”| Feature | Where |
|---|---|
| Every job with its module, group, schedule, status, failed and missed runs in the last 24 hours, last run, duration and next run. Jobs whose last run failed or was missed show in red. | System > Cron Manager > Cron Jobs |
| Reschedule a job with any cron expression. It is validated before saving. | Cron Jobs > Edit |
| Enable or disable jobs, one at a time or in bulk. | Cron Jobs |
| Move a job to another cron group, or point it at another class and method. | Cron Jobs > Edit (separate permission) |
| Reset a job to exactly what its module declares. | Cron Jobs |
| Cron status: when cron last ran (with a warning after 10 quiet minutes), and run counts by status. | Top of Cron Jobs and Schedule Log |
| Every pending, running, finished, missed and failed run. Filter, export and delete. | System > Cron Manager > Schedule Log |
| Run a job now, or queue it for cron’s next run. | Schedule Log, Cron Jobs, job form |
| One lane per job, one bar per run, coloured by status, over 1 to 48 hours. | System > Cron Manager > Timeline |
| Admin inbox message and/or email about failed, missed or stuck runs. | Stores > Configuration > Magenx > Cron Manager |

How changes are applied
Section titled “How changes are applied”Your changes are kept by Cron Manager, apart from each module’s own files. When cron reads its job list, Cron Manager applies them on top. Nothing in any module is edited, no cache flush is needed, and Reset removes a change completely.
- A disabled job gets no new runs, and its pending runs are deleted. It stays in the grid, so you can still run it by hand.
- A schedule you set wins over the module’s own schedule and its configuration setting.
- A group can only be one that jobs already use.
- A class and method change is checked on save, and again each time cron reads the list. If the class is later removed, the job falls back to its module’s own code.
- Every change deletes the job’s pending runs. Cron creates new ones at its next schedule generation, every 15 minutes by default.
Run now or queue
Section titled “Run now or queue”Run Now runs the job inside your admin request and records it in the log as run by you. It refuses to start while cron is running the same job. It is limited by the web server’s time limits, so use it for testing and short jobs.
Queue adds a pending run that cron picks up on its next pass, exactly as if cron had scheduled it. Use it for long jobs. A disabled job can’t be queued; enable it first or use Run Now.
Failure notifications
Section titled “Failure notifications”- Go to Stores > Configuration > Magenx > Cron Manager > Failure Notifications.
- Turn on Enable Notifications and choose which outcomes to report in Notify About: Error, Missed, Stuck, or any mix.
- If you report stuck runs, set Stuck After (Minutes) (default 60, from 1 to 1440). A run still running this long is reported as stuck.
- Choose an admin inbox message, an email, or both. For email, enter the recipients.
Reporting starts when you switch it on, so you are not sent the whole failure history. Each run is reported once. One check looks back at most 6 hours and lists at most 200 runs.
A run is stuck when it stays running past Stuck After, usually because its process was killed (out of memory, a deploy, a server restart) and never recorded an end. Magento marks such a run as failed only a day later. Stuck runs are looked for up to 48 hours back. If a stuck run later fails, the failure is reported too.
If you saved Notify About before the Stuck option existed, your saved selection is kept. Select Stuck there to turn it on.
User flows
Section titled “User flows”Find a task and its state
- An admin user opens the task view.
- Every declared task is listed with code, owning module, platform or extension, group, effective schedule, state, whether it is overridden, last run status, last run time and duration, and next planned run.
- The user filters by module and last status "error"; only matching tasks remain.
- Tasks whose last run failed or was missed stand out in bold, in the error colour.
- The user clicks the failed count in the health summary; the view lists only tasks with a failed run in the last 24 hours, and the filter shows as applied.
Disable a task
- The user disables a task from its row, or several tasks with a bulk action that warns that disabling platform tasks can break the store.
- The tasks show as disabled and overridden.
- Their pending runs are removed at once; the scheduler plans no new runs for them.
Reschedule a task
- The user opens the task form, which shows the declared schedule as the default.
- The user enters a new schedule and saves.
- An invalid schedule is refused with a message naming the faulty field; nothing is saved.
- A valid one is saved; the task's pending runs on the old schedule are removed and the scheduler plans new ones at its next planning pass.
- Entering the declared schedule, or leaving the field empty, removes the schedule override.
Change group or target
- A user with the advanced permission sees group and target fields on the form; others see them read-only.
- The group can only be one that already exists.
- A target that cannot be executed is refused on save.
Reset
- The user resets a task (or several in bulk).
- All its overrides are removed; it runs on its declared settings again.
Review runs and run again
- The user opens the run log, newest first, and filters by task, status and date.
- From a failed run, the user chooses "Run now". The task runs inside the request; a new run entry records the outcome and who started it; the page reports success with duration, or the failure message.
- Alternatively the user chooses "Queue"; a pending run for the current minute is added and the scheduler executes it on its next pass.
- The user selects old entries and deletes them.
Timeline
- The user opens the timeline: a 6-hour window by default, three quarters past and one quarter ahead of now.
- Each task with runs in the window has one lane; each run is a bar coloured by status, spanning start to finish, with details on hover; a marker shows now.
- The user switches the window between 1 and 48 hours, steps earlier or later, and filters by task code.
Notification
- An admin switches notifications on and chooses statuses, inbox and email recipients.
- The first check only records the start time; earlier failures are not reported.
- A later check finds two failed runs and sends one digest to the inbox and the recipients.
- The next check finds no new failed runs and sends nothing.
- A run has been running for longer than the stuck threshold. The next check reports it once as stuck. If it later ends in error, that error is reported too.
These always hold:
- Nothing stored by this feature can make the scheduler fail for tasks it does not concern.
- A task with no override runs exactly on its declared settings.
- A disabled task is never run by the scheduler after the disable is saved.
- Module definitions and store configuration of tasks are never modified; removing an override fully restores the declared behaviour.
- Two executions of the same task never run at once because of a manual run, and a manual run never marks a live scheduler run as failed.
- Each failed or missed run is notified at most once, and none from before notifications were last switched on. Each stuck run is notified as stuck at most once; being reported as stuck does not stop a later error of the same run being reported.
- A valid schedule has 5 fields (a 6th is accepted and ignored, as the scheduler does). Each field is a comma list of
*, a value, or a rangea-b, each optionally with a step/nwhere n ≥ 1. Ranges: minute 0–59, hour 0–23, day of month 1–31, month 1–12 or month names, day of week 0–6 or day names; names match on their first three letters, any case. A range runs low to high. - Declared schedule = the store-configuration value the module points at, if set; otherwise the module's own schedule.
- Effective schedule = the override if set, otherwise the declared schedule. A disabled task has no effective schedule.
- Effective group = the override if that group exists, otherwise the declared group.
- Effective target = the override if it is executable now, otherwise the declared target. Executable = an existing, concrete unit of code with a public, instance-level operation of that name.
- Last run = the newest run that is not pending. Next run = the earliest pending run. Duration = finished minus started.
- Owning module and platform/extension are derived from the target, with no extra lookup per task.
- A check reports failed and missed runs planned at or after the later of "notifications switched on" and "now minus 6 hours". It reports stuck runs planned at or after the later of "notifications switched on" and "now minus 48 hours" that started more than the stuck threshold ago and have not ended.
- A task's failed (missed) count = its runs with status error (missed) planned in the last 24 hours. Summed over all tasks, it equals the failed (missed) count above the task view. It is independent of the last run status: a task that failed and then succeeded has a non-zero failed count and is not highlighted.
- "Is the scheduler running, and what failed today?" is answerable from one screen.
- Every manual run is attributed to the user who started it.
- "Overridden" in the task view always means at least one effective setting differs from the declared one, or the task is disabled.
Edge cases
Section titled “Edge cases”| Situation | What happens |
|---|---|
| Overrides cannot be read (storage missing or unavailable). | Scheduler runs every task on declared settings; one error logged per process. |
| Target override names code removed in a later deployment. | Task runs its declared target. |
| Group override names a group that no longer exists. | Task stays in its declared group. |
| Override exists for a task no module declares any more. | Ignored; no error. |
Schedule 0 25 * * , /0 * * * , 0 0 * 7 or 0 10-5 * * * entered. | Refused, message names the field; nothing saved. |
| Declared schedule entered as an override. | No schedule override stored. |
| Task disabled while it has pending runs in the next 20 minutes. | Pending runs removed at once; none execute. |
| Run now while the scheduler is running the same task. | Refused with a message; the live run is untouched. |
| Task fails during run now. | Run entry with status error and the failure message; the admin page still loads and shows it. |
| Queue on a disabled task. | Refused with an explanation. |
| "Select all" bulk disable with a filter applied. | Only the filtered tasks change. |
| Bulk delete of 20,000 log entries. | Deleted in bounded batches. |
| Notifications switched on with 3 days of failed runs in the log. | None of them reported; only later ones. |
| Notifications switched off and on again. | Reporting restarts from the new switch-on time. |
| Mail delivery fails during a check. | Inbox message still created; failure logged; runs marked reported, not re-sent every check. |
| 500 failed runs found in one check. | 200 reported; the rest in following checks; none twice. |
| Task message contains markup or script. | Shown as text in every screen and in the email. |
| Run still running at the end of the window. | Bar extends to now, clipped to the window. |
| Run planned exactly at the window's right edge. | Bar stays fully inside the window. |
| No run has ever happened. | Health summary says so and warns. |
| A task missed 4 times in the last 24 hours, then succeeded. | Missed count 4 above the task view; clicking it lists the task with missed count 4; its last run status is success and the row is not highlighted. |
| A task whose only failed run is 2 days old. | Failed count 0; not listed by the failed link; the run log's failed count includes it. |
| Stuck threshold 60; a run started 61 minutes ago is still running, another started 30 minutes ago. | Only the first is reported as stuck. |
| A run reported as stuck later ends in error within the 6-hour look-back. | The error is reported once; the stuck report is not repeated. |
Who it applies to
Section titled “Who it applies to”- Every task declared on the installation, by the platform or any module.
- Global scope only.
Out of scope
Section titled “Out of scope”- Creating new tasks from the admin panel; only declared tasks are managed.
- Installing, starting or monitoring the operating-system scheduler that triggers the platform's scheduler.
- Changing task-group settings (how far ahead runs are planned, how long they wait, how long history is kept).
- Running a task on a different server or in a separate process from the admin panel.
- Alerting on slow runs, runs that never finish, or the scheduler being down.
- Per-store settings: the scheduler runs once per installation.
- Any storefront feature or storefront API.
Install
Section titled “Install”composer require magenxcommerce/module-cron-managerbin/magento module:enable Magenx_CronManagerbin/magento setup:upgradebin/magento setup:di:compile # production mode onlybin/magento cache:flush- PHP
~8.4.0||~8.5.0, Magento 2.4.8.
Configuration
Section titled “Configuration”Default scope only.
Stores > Configuration > Magenx > Cron Manager
Failure Notifications
| Setting | Default | Scope | Notes |
|---|---|---|---|
Enable Notificationsmagenx_cron_manager/ | No | Global | Yes/No. Reports cron runs that ended in one of the statuses below. Each run is reported once; runs that failed before this was switched on are not reported. |
Notify Aboutmagenx_cron_manager/ | error,missed,stuck | Global | Multiple select. Shown when Enable Notifications = Yes. Error: the job threw. Missed: cron did not start the job before its schedule lifetime ran out, usually because cron was down or overloaded. Stuck: the run is still "running" after the time set below, usually because its process was killed. |
Stuck After (Minutes)magenx_cron_manager/ | 60 | Global | Text. Shown when Enable Notifications = Yes. A run still running this long is reported as stuck, once. Used only when Stuck is selected above. Set it above the longest normal run of your slowest job (full reindexes, sitemap, imports). |
Add to Admin Notificationsmagenx_cron_manager/ | Yes | Global | Yes/No. Shown when Enable Notifications = Yes. One message per check in System > Notifications, summarising every failure found by that check. |
Send Email Tomagenx_cron_manager/ | empty | Global | Text. Shown when Enable Notifications = Yes. Comma-separated addresses. Leave empty to send no email. |
Email Sendermagenx_cron_manager/ | General Contact | Global | Dropdown. Shown when Enable Notifications = Yes. |
Email Templatemagenx_cron_manager/ | Module's default template | Global | Dropdown. Shown when Enable Notifications = Yes. |
Check Schedulemagenx_cron_manager/ | */15 * * * * | Global | Text. Shown when Enable Notifications = Yes. Cron expression for the check, e.g. */15 * * * * for every 15 minutes. |
Admin pages and permissions
Section titled “Admin pages and permissions”- System > Cron Manager > Cron Jobs
- System > Cron Manager > Schedule Log
- System > Cron Manager > Timeline
Grant these under System > Permissions > User Roles > Role Resources:
| Resource | Under | ID |
|---|---|---|
| Cron Manager | System | Magenx_CronManager::cron |
| View Cron Jobs | System > Cron Manager | Magenx_CronManager::jobs |
| Enable, Disable and Reschedule Jobs | System > Cron Manager > View Cron Jobs | Magenx_CronManager::jobs_edit |
| Change Job Group, Class and Method | System > Cron Manager > View Cron Jobs | Magenx_CronManager::jobs_advanced |
| View Schedule Log | System > Cron Manager | Magenx_CronManager::schedule |
| Run and Queue Jobs | System > Cron Manager > View Schedule Log | Magenx_CronManager::schedule_run |
| Delete Schedule Log Entries | System > Cron Manager > View Schedule Log | Magenx_CronManager::schedule_delete |
| View Cron Timeline | System > Cron Manager | Magenx_CronManager::timeline |
| Cron Manager Settings | Stores > Settings > Configuration | Magenx_CronManager::config |
| Job | Group | Default schedule | Change it at |
|---|---|---|---|
magenx_cron_manager_notify | default | */15 * * * * | magenx_cron_manager/notifications/schedule |
- Times show in the admin timezone (General > Locale Options > Timezone). Magento evaluates cron expressions in the same timezone.
Glossary
Section titled “Glossary”| Term | Meaning |
|---|---|
| Task | A scheduled background job declared by a module, identified by a unique task code. |
| Scheduler | The platform component that plans runs of every enabled task and executes them; triggered every minute by the operating system. |
| Schedule | A standard five-field cron expression (minute, hour, day of month, month, day of week), evaluated in the store's admin timezone. |
| Group | A named set of tasks the scheduler plans and runs together, with its own timing settings. |
| Target | What a task executes: a callable unit of code and the operation on it. |
| Declared settings | A task's schedule, group and target as its module defines them, including a schedule its module reads from store configuration. |
| Override | A change made in this feature to a task's state, schedule, group or target. A task with no override runs on its declared settings. |
| Effective settings | Declared settings with the override applied — what the scheduler actually uses. |
| Run | One planned or actual execution of a task, kept in the run log. |
| Run status | pending (planned), running, success, error (the task failed), missed (not started before its group's waiting time ran out). |
| Run log | The list of runs the scheduler keeps, and that it prunes on its own history settings. |
| Run now | Execute a task immediately, inside the admin request. |
| Queue | Add a pending run for the current minute, for the scheduler to execute on its next pass. |
| Scheduler activity | The latest time any run started or finished. |
| Stuck run | A run still in status running longer than the stuck threshold, usually because its process was killed and never recorded an end. Not a run status of its own. |
| Stuck threshold | How many minutes a run may stay running before it is reported as stuck. |
| Check | One pass of the notification job looking for failed, missed and stuck runs. |