Skip to content

Conversation

nunomaduro
Copy link
Member

@nunomaduro nunomaduro commented Jan 2, 2024

This pull request uses laravel/framework#48137, to simplify the console routes. 💅🏻

Artisan::command('inspire', function () {
    $this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote')->hourly();

@Jubeki
Copy link
Contributor

Jubeki commented Jan 2, 2024

I would be in favour of leaving the Console Schedule Section with the following commented out for example:

// Schedule::command('model:prune')->daily();

I am also not sure, if anything should be scheduled by default. (Does inspire fill up the log files?)

@taylorotwell
Copy link
Member

Don't think we should do this atm.

@taylorotwell taylorotwell deleted the feat/simplifies-console-routes branch January 6, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants