Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

flagrow/chronos

Repository files navigation

Chronos by Flagrow logo Flagrow, a project of Gravure

MIT license Latest Stable Version Total Downloads Donate Join our Discord server

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.

Installation for developers

Add a constraint in the composer.json of your extension:

        "dependencies": {
            "flagrow/chronos": "~1.0"
        }

Configuration

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:

Support our work

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.

Security

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.

Links

An extension by Flagrow, a project of Gravure.

Releases

No releases published

Packages

No packages published

Languages