File tree Expand file tree Collapse file tree 2 files changed +10
-31
lines changed Expand file tree Collapse file tree 2 files changed +10
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
use Illuminate \Foundation \Inspiring ;
4
4
use Illuminate \Support \Facades \Artisan ;
5
+ use Illuminate \Support \Facades \Schedule ;
6
+ use Spatie \ScheduleMonitor \Models \MonitoredScheduledTaskLogItem ;
5
7
6
8
Artisan::command ('inspire ' , function () {
7
9
$ this ->comment (Inspiring::quote ());
8
10
})->purpose ('Display an inspiring quote ' )->hourly ();
11
+
12
+
13
+ Schedule::command ('schedule-monitor:sync ' )->dailyAt ('04:56 ' );
14
+ Schedule::command ('model:prune ' , ['--model ' => MonitoredScheduledTaskLogItem::class])->daily ();
15
+ Schedule::command ('horizon:snapshot ' )->everyFiveMinutes ();
16
+ Schedule::command ('lio:post-article-to-twitter ' )->twiceDaily (14 , 18 );
17
+ Schedule::command ('lio:generate-sitemap ' )->daily ()->graceTimeInMinutes (25 );
18
+ Schedule::command ('lio:update-article-view-counts ' )->twiceDaily ();
You can’t perform that action at this time.
0 commit comments