Skip to main content

laravelio/laravel.io

2499 stars
1 code files
View laravelio/laravel.io on GitHub

main/app/Console/Kernel.php

Open in GitHub
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
 
class Kernel extends ConsoleKernel
{
//
protected function schedule(Schedule $schedule)
{
$schedule->command('schedule-monitor:sync')->dailyAt('04:56');
$schedule->command('schedule-monitor:clean')->daily();
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->command('post-article-to-twitter')->twiceDaily(14, 18);
}
//
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.