Scheduling
Keep proxy archives and caches fresh with Laravel's scheduler.
Daily sync
In routes/console.php (Laravel 11+) or your schedule definition:
php
<?php
use Illuminate\Support\Facades\Schedule;
Schedule::command('edge-trust:sync')
->daily()
->at('03:15')
->withoutOverlapping();After sync
Optionally clear or warm cache so long-lived workers notice updates:
php
Schedule::command('edge-trust:sync')->daily()->at('03:15');
Schedule::command('edge-trust:clear')->daily()->at('03:20');Prefer a short delay after sync, or clear only when sync reports changes if your deployment supports that.
Bundled mode
When applications run in bundled mode without egress:
- Run sync in CI (package releases) or on a bastion that can write archives into the deploy artifact
- Deploy updated archives with the application release
- Application servers never need outbound access to provider IP list URLs
Runtime / hybrid
Even with runtime fetches, a scheduled sync keeps on-disk archives current for hybrid fallbacks and reduces cold-cache latency.
Monitoring
- Alert on non-zero exit codes from
edge-trust:syncandedge-trust:validate - Track
edge-trust:statusoutput in your health endpoint or metrics job - Investigate repeated hybrid fallbacks — they may indicate blocked egress or provider outages