ipl / scheduler
Icinga PHP Library - Tasks scheduler
Installs: 9 855
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 10
Forks: 1
Open Issues: 5
Requires
- php: >=7.2
- ext-json: *
- dragonmantank/cron-expression: ^3
- ipl/stdlib: >=0.12.0
- psr/log: ^1
- ramsey/uuid: ^4.2.3
- react/event-loop: ^1.4
- react/promise: ^2.10
- simshaun/recurr: ^5
Requires (Dev)
- ipl/stdlib: dev-main
Suggests
- ext-ev: Improves performance, efficiency and avoids system limitations. Highly recommended! (See https://www.php.net/manual/en/intro.ev.php for details)
This package is auto-updated.
Last update: 2024-11-17 11:31:02 UTC
README
Framework-independent scheduler that executes tasks at regular intervals or once at specific times in an event loop. The tasks are pure PHP code and the frequency is defined via cron expressions. Yields events for which you can install listeners:
- when an operation of a task is scheduled,
- upon running an operation of a task,
- when an operation of a task is done or failed,
- and when a task is canceled or expired.
Scheduled or running tasks can be removed or canceled at any time.
Installation
The recommended way to install this library is via Composer:
composer require ipl/scheduler