Deploy Ladill Link / deploy (push) Successful in 39s
Resolve countries from CDN headers first, then MaxMind GeoLite2 via visitor IP, with an artisan command to download and refresh the database. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
929 B
PHP
19 lines
929 B
PHP
<?php
|
|
|
|
use Illuminate\Foundation\Inspiring;
|
|
use Illuminate\Support\Facades\Artisan;
|
|
use Illuminate\Support\Facades\Schedule;
|
|
|
|
Artisan::command('inspire', function () {
|
|
$this->comment(Inspiring::quote());
|
|
})->purpose('Display an inspiring quote');
|
|
|
|
Schedule::command('hosting:check-node-health --all')->everyFiveMinutes()->withoutOverlapping();
|
|
Schedule::command('hosting:sync-account-usage')->hourly()->withoutOverlapping();
|
|
Schedule::command('hosting:recalculate-node-capacity --shared-only')->daily()->withoutOverlapping();
|
|
Schedule::command('hosting:process-expired-accounts')->daily()->withoutOverlapping();
|
|
Schedule::command('hosting:notify-expiring')->daily()->withoutOverlapping();
|
|
Schedule::command('hosting:retry-pending-fulfillment')->everyFifteenMinutes()->withoutOverlapping();
|
|
Schedule::command('ssl:renew')->daily()->withoutOverlapping();
|
|
Schedule::command('link:geoip-update')->weekly()->withoutOverlapping();
|