feat: implement currency exchange rate scraping service and command

This commit is contained in:
2025-05-24 01:37:27 +03:00
parent 76c2ab12c8
commit 72b4eff3ee
10 changed files with 1087 additions and 40 deletions
+4 -3
View File
@@ -3,6 +3,7 @@
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
Schedule::command('currency:fetch --today')
->everySixHours() //
->appendOutputTo(storage_path('logs/currency-fetch.log'));