First Commit
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schedule;
|
||||
|
||||
// Schedule insights to be sent every 15 minutes
|
||||
Schedule::command('insights:send')
|
||||
->everyFifteenMinutes()
|
||||
->withoutOverlapping()
|
||||
->appendOutputTo(storage_path('logs/insights-scheduler.log'));
|
||||
|
||||
// Schedule daily at midnight to check for expiring subscriptions
|
||||
Schedule::command('insights:send')
|
||||
->dailyAt('00:00')
|
||||
->withoutOverlapping();
|
||||
Reference in New Issue
Block a user