2017-25 © Pedro Peláez
 

yii2-module yii2-cron

Flexible cron tasks manager for the Yii2 Framework

image

rossmann-it/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  • Wednesday, May 16, 2018
  • by xrymz
  • Repository
  • 4 Watchers
  • 3 Stars
  • 71 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 49 Forks
  • 0 Open issues
  • 16 Versions
  • 163 % Grown

The README.md

PHP Cron tasks manager

This is a flexible tasks manager designed for MVC-type applications. It's used instead of standard linux crontab command., (*1)

The purpose of this tool is to provide an easy way to manipulate repetitive tasks., (*2)

Live Demo of original project by multimate Code Climate Test Coverage License, (*3)

How this works

Replace all tasks in crontab file with one which will invoke method TaskRunner::checkAndRunTasks()., (*4)

Import tasks from current crontab file or add them manually. Active tasks will run one by one if current time matches with the task's time expression. Output of tasks can be handled. For each execution will be assigned status: * Success if method returned true; * Error if method returned false or an exception was caught; * Started if task is running or wasn't ended properly., (*5)

Features

  • Works with any storage engines
  • Flexible implementation with interfaces
  • Disable, enable and run tasks through tool interface
  • Handle tasks output however you want
  • Time expression helper shows next run dates
  • Monitor runs results
  • Export and import tasks from crontab
  • Add needed method for new task from dropdown

Installation

Install package via Composer, (*6)

composer require rossmann-it/yii2-cron

Requirements

Configure

  • Create tables if you want to store data in database (use Yii migration)
  • Implement TaskInterface and TaskRunInterface or use predefined classes from the Example folder
  • Copy and modify controller and views. Or create your own.
  • Import tasks through interface or add them manually
  • Add new line into crontab file that will invoke TaskRunner::checkAndRunTasks()
  • Disable tasks that will be invoked through the manager
  • Make sure that manager is not publicly available

Screenshots

Tasks list Report Logs Import and export, (*7)

The Versions

16/05 2018

dev-master

9999999-dev https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

16/05 2018

1.1.7

1.1.7.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

15/05 2018

1.1.6

1.1.6.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

27/03 2017

1.1.5

1.1.5.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

04/01 2017

1.1.4

1.1.4.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

17/11 2016

1.0.2

1.0.2.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

17/11 2016

1.1.3

1.1.3.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

15/11 2016

1.1.2

1.1.2.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

09/08 2016

1.1.1

1.1.1.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

04/08 2016

1.1.0

1.1.0.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

26/07 2016

1.0.1

1.0.1.0 https://github.com/Rossmann-IT/yii2-cron

Flexible cron tasks manager for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

29/02 2016

dev-develop

dev-develop https://github.com/voodoo-mobile/yii2-cron

Flexible cron tasks manager for MVC-type applications

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii2 yii 2 schedule cron crontab tasks manager

07/02 2016

v1.0.0

1.0.0.0 https://cron.multimate.ru

Flexible cron tasks manager for MVC-type applications

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar MUlt1mate

yii codeigniter schedule cron crontab tasks manager

28/01 2016

v0.2.0

0.2.0.0 https://cron.multimate.ru

Flexible cron tasks manager for MVC-type applications

  Sources   Download

MIT

The Requires

 

by Avatar MUlt1mate

codeigniter schedule cron crontab tasks manager

08/01 2016

v0.1.1

0.1.1.0 https://cron.multimate.ru

Flexible cron tasks manager for MVC-type applications

  Sources   Download

MIT

The Requires

 

by Avatar MUlt1mate

cron crontab task manager

06/01 2016

v0.1.0

0.1.0.0 https://cron.multimate.ru

Flexible cron tasks manager for MVC-type applications

  Sources   Download

MIT

The Requires

 

by Avatar MUlt1mate

cron crontab task manager