feat: implement currency rates tracking with models, migrations and views
This commit is contained in:
+2
-4
@@ -1,9 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Facades\Schedule;
|
||||
|
||||
Schedule::command('currency:fetch --today')
|
||||
->everySixHours() //
|
||||
->everySixHours()
|
||||
->appendOutputTo(storage_path('logs/currency-fetch.log'));
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\RateController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
Route::get('/', RateController::class);
|
||||
|
||||
Reference in New Issue
Block a user