feat: run schedules

pull/1/head
Farid Saravi 5 years ago
parent d70600879c
commit 0a464a8bd3

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

Loading…
Cancel
Save