2017 © Pedro Peláez
 

extension yii2-command-scheduler

Yii2 extenstion for Command Bus commands scheduling

image

understeam/yii2-command-scheduler

Yii2 extenstion for Command Bus commands scheduling

  • Thursday, May 19, 2016
  • by AnatolyRugalev
  • Repository
  • 2 Watchers
  • 0 Stars
  • 125 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Yii2 Command Scheduler

This command is alternative for cron and any other cron scheduling components. It allows to schedule any task dynamically from code:, (*1)

Yii::$app->scheduler->add(
    'my-unique-command-key',    // Unique task key. If task already exists it will be replaced
    $command,                   // Command. May be literally anything. See Executor section
    '0 0 * * *',                // Cron expression
    false                       // Repeat after success execution? Default - true
);

This lightweight operation allows to postpone any heavy tasks into background., (*2)

This tool is cron based, so, you need to run a scheduler script every minute. Example entry of crontab file:, (*3)

* * * * * /usr/bin/php /var/www/my-application/yii scheduler/cron --interactive=false

Executor

TODO, (*4)

Command

TODO, (*5)

Sorry about docs, they are not ready yet. You can inspect tests and code to see how it works, it's quite simple., (*6)

The Versions

19/05 2016

dev-master

9999999-dev

Yii2 extenstion for Command Bus commands scheduling

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Anatoly Rugalev

19/05 2016

v0.4

0.4.0.0

Yii2 extenstion for Command Bus commands scheduling

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Anatoly Rugalev

19/05 2016

v0.3

0.3.0.0

Yii2 extenstion for Command Bus commands scheduling

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Anatoly Rugalev

19/05 2016

v0.2

0.2.0.0

Yii2 extenstion for Command Bus commands scheduling

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Anatoly Rugalev

17/05 2016

v0.1

0.1.0.0

Yii2 extenstion for Command Bus commands scheduling

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Anatoly Rugalev