34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
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');
|
||
|
||
// AI blog: günde 3 kez (09:00, 15:00, 21:00) — her seferinde 1 yeni yazı
|
||
Schedule::command('animexe:generate-blogs --count=1')
|
||
->cron('0 9,15,21 * * *')
|
||
->withoutOverlapping()
|
||
->runInBackground();
|
||
|
||
// AI anime meta doldurma: her gece 02:00 — eksik tüm animeleri işle, bititiğinde dur
|
||
Schedule::command('animexe:fill-anime-meta')
|
||
->dailyAt('02:00')
|
||
->withoutOverlapping()
|
||
->runInBackground();
|
||
|
||
// Her saat başı süresi dolan mahkemeleri kapat
|
||
Schedule::command('tribunals:close')
|
||
->hourly()
|
||
->withoutOverlapping();
|
||
|
||
// Her gece 02:30 — kapak/banneri eksik animelere AniList'ten resim çek
|
||
Schedule::command('anime:fetch-images --missing --limit=100')
|
||
->dailyAt('02:30')
|
||
->withoutOverlapping()
|
||
->runInBackground();
|
||
|