23 lines
798 B
PHP
23 lines
798 B
PHP
<?php
|
||
|
||
use Illuminate\Foundation\Inspiring;
|
||
use Illuminate\Support\Facades\Artisan;
|
||
use Illuminate\Support\Facades\Schedule;
|
||
use App\Console\Commands\GenerateBlogAssistant;
|
||
use App\Console\Commands\SyncSpotifyMusicProductions;
|
||
use App\Console\Commands\SyncYoutubeReleases;
|
||
|
||
Artisan::command('inspire', function () {
|
||
$this->comment(Inspiring::quote());
|
||
})->purpose('Display an inspiring quote');
|
||
|
||
// Schedule the AI Blog Assistant
|
||
// Run daily at 09:00 AM
|
||
Schedule::command(GenerateBlogAssistant::class)->dailyAt('09:00');
|
||
|
||
// Spotify müzik prodüksiyonlarını her gece senkronize et
|
||
Schedule::command(SyncSpotifyMusicProductions::class)->dailyAt('03:00');
|
||
|
||
// YouTube Releases (Art Track) kayıtlarını her gece senkronize et
|
||
Schedule::command(SyncYoutubeReleases::class)->dailyAt('03:30');
|