2017 © Pedro Peláez
 

bitrix-module bitrix-agent-manager

Agent manager for Bitrix

image

notamedia/bitrix-agent-manager

Agent manager for Bitrix

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Agent manager for Bitrix

Build Status Latest Stable Version Total Downloads License, (*1)

This module help to create simple workers on the Agents of Bitrix., (*2)

Installation

composer require notamedia/bitrix-agent-manager

Usage

Extends abstract class Agent for create your simple workers. For example:, (*3)

use Notamedia\AgentManager\Agent;

class SimpleWorker extends Agent
{
    protected $recurring = false; // Agent is not recurring.
    protected $parameter;

    public function __construct($parameter)
    {
        parent::__construct();

        $this->parameter = $parameter;
    }

    protected function init()
    {
        // Preparatory operations.
    }

    protected function execute()
    {
        // The basic logic of worker.
    }
}

And register your Agent in the Bitrix:, (*4)

Agents list, (*5)

The Versions

06/01 2016

dev-master

9999999-dev http://nota.media

Agent manager for Bitrix

  Sources   Download

MIT

The Requires

 

bitrix module agent

06/01 2016

1.0.0-beta

1.0.0.0-beta http://nota.media

Agent manager for Bitrix

  Sources   Download

MIT

The Requires

 

bitrix module agent