|
|
@ -24,11 +24,8 @@ class Kernel extends ConsoleKernel
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// $schedule->command('inspire')
|
|
|
|
$schedule->command('today:schedule')->daily();
|
|
|
|
// ->hourly();
|
|
|
|
$schedule->command('today:run')->everyFiveMinutes();
|
|
|
|
// $schedule->call(function () {
|
|
|
|
|
|
|
|
// \DB::table('wmuser_common.comments')->limit(1)->delete();
|
|
|
|
|
|
|
|
// })->cron('*/2 * * * *')->sendOutputTo(storage_path('task.txt'));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|