saschagehlich / craft-queue-manager

Queue manager for Craft CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icon

Queue Manager for Craft CMS 3

Job Queue Manager for Craft CMS.

cp

Installation

Requirements

This plugin requires Craft CMS 3.0.0, or later.

Plugin Store

Log into your control panel and click on 'Plugin Store'. Search for 'Queue Manager'.

Composer

  1. Open your terminal and go to your Craft project:
cd /path/to/project
  1. Then tell Composer to load the plugin:
composer require lukeyouell/craft-queue-manager
  1. In the Control Panel, go to Settings → Plugins and click the “Install” button for Queue Manager.

Features

  • View detailed job information
  • Retry or cancel individual jobs
  • Retry or cancel the full queue
  • Console commands that offer the same functionality as found in the CP

Console commands

Retrying jobs

Individual:

./craft queue-manager/queue/retry id

Full queue:

./craft queue-manager/queue/retry-all

Cancelling jobs

Individual:

./craft queue-manager/queue/cancel id

Full queue:

./craft queue-manager/queue/cancel-all

Overriding Plugin Settings

If you create a config file in your config folder called queue-manager.php, you can override the plugin’s settings in the Control Panel. Since that config file is fully multi-environment aware, this is a handy way to have different settings across multiple environments.

Here’s what that config file might look like along with a list of all of the possible values you can override.

<?php

return [
    'jobLimit' => 1000,
];
Parameter Expected Value
jobLimit Integer

Roadmap

Some things to do, and ideas for potential features:

  • Cron documentation
  • Responsive tables
  • Filter results
  • Automatically refresh jobs

About

Queue manager for Craft CMS

License:MIT License


Languages

Language:JavaScript 50.7%Language:PHP 22.8%Language:HTML 15.0%Language:CSS 11.5%