halexm2/cron-extended

Magento 2 Cron Extended Extension

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

v1.0.1 2024-02-19 16:55 UTC

This package is not auto-updated.

Last update: 2024-09-17 17:50:41 UTC


README

Requirements

  • Magento 2.0.0-2.4.x

Overview

Sometimes there is a circumstances when need to run one of the cron jobs manually, but Magento doesn't have this out of the box. This extension allows you to run any cron jobs from Magento CLI or admin panel manually.

Main Features

  • Cron Schedule List in Magento Admin
  • Table of all configured cron jobs
  • Run any cron jobs from Magento Admin
  • Run any cron jobs from Magento CLI
  • Get list of all cron jobs from Magento CLI with possibility to filter them by group or code
  • ACL (Access Control List) added

Installation

composer require halexm2/cron-extended
bin/magento setup:upgrade

CLI Commands

bin/magento cron:extended:run --job="[JOB_CODE]"
bin/magento cron:extended:list --group_filter="[GROUP_NAME]" --job_filter="[JOB_CODE]"

Usage Example

bin/magento cron:extended:run --job="indexer_reindex_all_invalid"
bin/magento cron:extended:list --group_filter="index"

Screenshots

Schedule list in Magento Admin

Schedule List

Jobs list in Magento Admin

Jobs List

Cron Jobs list in CLI

bin/magento cron:extended:list --group_filter="index"

CLI Jobs List

Running Cron Job from CLI

bin/magento cron:extended:run --job="indexer_reindex_all_invalid"

CLI Job Run