Files
citrus/routes/console.php

23 lines
798 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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');