Level 34
@sr57 not sure why it's not part of the docs but after checking the framework itself you could do it like this:
$schedule->call(function () {
DB::table('recent_users')->delete();
})->daily()->name('My Description');
//or
$schedule->call(function () {
DB::table('recent_users')->delete();
})->daily()->description('My Description');
1 like