frenzelgmbh/cm-jobcontrol

Job Watchdog Module for yii2

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Type:yii2-module

dev-master 2017-05-12 08:41 UTC

This package is not auto-updated.

Last update: 2024-12-22 03:50:30 UTC


README

Yii2 JobControle Module

Author: Philipp Frenzel philipp@frenzel.net

Usage

The job control module enables a REST-Service that allows you to track jobs beeing started, executed an completed. It's a helper for our projects that allows us to keep an overview while some of our solutions need to track several 100 tasks a day.

Used open source extensions

  • yii2-workflow
  • yii2-json-api

Installation

The prefered way to install this module is through composer.

Either run

php composer.phar require --prefer-dist frenzelgmbh/cm-jobcontrol "*"

or add the following line to the require section of your composer.json

    "frenzelgmbh/cm-jobcontrol":"*",

and within you web-config - modules, pls. add

    'modules' => [
        'jobcontrol' => [
            'class' => 'net\frenzel\jobcontrol',
        ],
        ...
    ]

and within you web-config - components, pls. add

    'components' => [
        'JobcontrolWorkflow' => [
            'class' => 'raoul2000\workflow\source\file\WorkflowFileSource',
        ],
        ...
    ]

As the module needs to save some data, pls. execute the migrations under

    '@vendor/frenzelgmbh/cm-jobcontrol/src/migrations',