First Commit

This commit is contained in:
marco
2026-09-01 07:49:48 -03:00
commit 28b1044038
399 changed files with 41659 additions and 0 deletions
+14
View File
@@ -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();