Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 592 Bytes

File metadata and controls

27 lines (19 loc) · 592 Bytes

marko/scheduler

Fluent task scheduler with cron expression support — define recurring tasks in PHP and run them with a single cron entry.

Installation

composer require marko/scheduler

Quick Example

use Marko\Scheduler\Schedule;

return [
    'boot' => function (Schedule $schedule): void {
        $schedule->call(function () {
            // Clean up temp files...
        })->daily()->description('Clean temp files');
    },
];

Documentation

Full usage, API reference, and examples: marko/scheduler