ttree/scheduler

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

Simple task scheduler for Neos Flow Framework

3.1.2

Version
3.1.2
Type
neos-package
Release Date
Nov 24, 2021 12:00
Source
git
Distribution
zip
Requires
  • neos/flow: ^7.0
  • mtdowling/cron-expression: ^1.2
  • beberlei/assert: ^2.7
  • neos/utility-lock: ^5.3
MIT
  • #cron
  • #task
  • #runner
  • #scheduler
a5d34255aeeebf772a28f39585915a3d9930746d

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).