dbfx
4 years ago

Using the scheduler from a package

Posted 4 years ago by dbfx

Hello!

I'm using the package system for a project and have added an artisan command like so --

    $this->app->bind('stats::command.stats.queue', function($app) {
        return new StatsQueue();
    });
    
    $this->commands(array(
        'stats::command.stats.queue'
    ));

Now, I want to try and use the scheduler. Honestly, I'm completely unsure of the best way of adding it from a package into the scheduler?

Thanks :)

Please sign in or create an account to participate in this conversation.