| Server IP : 35.80.110.71 / Your IP : 216.73.216.21 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/foyer/current/routes/ |
Upload File : |
<?php
use App\Console\Commands\CalendarSyncFallbackPoll;
use App\Console\Commands\DemoReset;
use App\Console\Commands\ExpireStaleSlotHolds;
use Illuminate\Support\Facades\Schedule;
// Slot-hold cleanup — every 60s. Releases expired holds + deletes Calendar
// tentative event + notifies customer (quiet-hours-aware).
Schedule::command(ExpireStaleSlotHolds::class)
->everyMinute()
->withoutOverlapping()
->onOneServer();
// Calendar drift fallback — every 5 minutes if the watch channel expired.
Schedule::command(CalendarSyncFallbackPoll::class)
->everyFiveMinutes()
->withoutOverlapping()
->onOneServer();
// Hourly demo reset for the public demo business.
Schedule::command(DemoReset::class)
->hourly()
->withoutOverlapping()
->onOneServer();