ttree/scheduler

Last activity 11 Oct 2022 21 9 100463
composer require ttree/scheduler

Simple task scheduler for Neos Flow Framework

3.1.3

Version
3.1.3
Type
neos-package
Release Date
Apr 22, 2022 12:28
Source
git
Distribution
zip
Requires
  • neos/flow: ^7.0 || ^8.0
  • mtdowling/cron-expression: ^1.2
  • beberlei/assert: ^2.7
  • neos/utility-lock: ^5.3
MIT
  • #cron
  • #task
  • #runner
  • #scheduler
e3816359f6b67106212c03625623f450734e292f

Readme excerpt

Flow & Neos Task Scheduler

A basic tasks scheduler inspired by cron for your Flow and Neos project.

Create a Task object

You need to implement the Ttree\Scheduler\Task\TaskInterface::

class MyTask implements \Ttree\Scheduler\Task\TaskInterface { /** * @param array * @return void */ public function execute(array $arguments = array()) { // ... } } Dynamic Tasks

You can schedule your own Task object, by adding a ```Ttree\Scheduler\Annotations\Schedule`` annotation to your class::

use Ttree\Scheduler\Annotations as Scheduler; /** * @Scheduler\Schedule(expression="* * * * *") */ class MyTask implements \Ttree\Scheduler\Task\TaskInterface { // ... }

This …
Read more

The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 48 package(s).