An extension that allows for Laravel Task Scheduling to be added to any extension. We use it internally for Bazaar to process long running tasks in the background, circumventing browser, webserver and php timeouts.
This is a package meant for extension developers.
Add a constraint in the composer.json
of your extension:
"dependencies": {
"flagrow/chronos": "~1.0"
}
Make sure you register your Illuminate Console Command by
subscribing to the event Flagrow\Console\Events\ConfigureConsoleApplication
.
Example implementations:
To set a schedule, create a Service Provider which
resolves the Illuminate\Console\Scheduling\Schedule
through IoC, then use its methods to configure the schedule
for the command, see the Task Scheduling documentation.
Example implementations:
We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.
If you discover a security vulnerability within Upload, please send an email to the Gravure team at [email protected]. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use php flarum info
to get the PHP, Flarum and extension versions installed.