Skip to content

[5.x] Add the scheduler system #282

@papac

Description

@papac

The scheduler should work like the following example:

$console->scheduler(function ($scheduler) {
    $scheduler->command("hello")->everyDay();
    $scheduler->php("hello")->everyDay();
});

You can use the externel package for implementing the scheduer. The command method must console the custom bowphp console command.

$console->addCommand('hello', function (Argument $argument) {
    echo Color::green("hello, bow task runner.");
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions