Scheduler and Queue Workers
Production requires both Laravel's scheduler and a background queue worker. Synchronous queues are blocked by the production safety gate.
Server processes
* * * * * cd /path/to/hotel && php artisan schedule:run >> /dev/null 2>&1
php artisan queue:work --sleep=3 --tries=3 --timeout=120Use Supervisor, systemd, or the hosting panel's worker manager so the queue restarts after a crash or deployment.
Registered work
- Every 5-30 minutes: webhook retry, iCal sync, and recurring housekeeping.
- Hourly: OTA integration checks and leakage monitoring.
- Daily: accounting posts, reporting and staff snapshots, occupancy forecasts, accuracy checks, AI pricing, revenue insights, retention, encrypted backup, corporate aging, and demo reset.
- Weekly/monthly: agent settlement drafts and corporate invoice runs.
Release check
php artisan schedule:list
php artisan queue:monitor defaultProvider-ready OTA adapters run in preview/certification mode until a certified live connector is installed; scheduled preview checks must not be interpreted as a completed provider sync.