[#1] processing videos and livewire
This commit is contained in:
+7
-1
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Console\Commands\ItemProcessing\FetchItemDataCommand;
|
||||
use App\Console\Commands\TmdbFetch\FetchExportCommand;
|
||||
use App\Console\Commands\TmdbFetch\FetchExportItemsCommand;
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Facades\Schedule;
|
||||
@@ -13,4 +15,8 @@ Artisan::command('inspire', function () {
|
||||
Schedule::command(FetchExportCommand::class, ['type', 'movies'])->weeklyOn(6, '8:00');
|
||||
Schedule::command(FetchExportCommand::class, ['type', 'tv_series'])->weeklyOn(6, '9:00');
|
||||
|
||||
//Schedule::command('emails:send Taylor --force')->daily();
|
||||
Schedule::command(FetchExportItemsCommand::class, ['type', 'movie'])->twiceDaily(17,19);
|
||||
Schedule::command(FetchExportItemsCommand::class, ['type', 'tv_series'])->twiceDaily(17,19);
|
||||
|
||||
// fetch items data
|
||||
Schedule::command(FetchItemDataCommand::class)->twiceDaily(18,20);
|
||||
|
||||
+4
-4
@@ -2,10 +2,10 @@
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
//Route::get('/', function () {
|
||||
// return view('welcome');
|
||||
//});
|
||||
|
||||
Auth::routes();
|
||||
|
||||
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
|
||||
Route::get('/', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
|
||||
|
||||
Reference in New Issue
Block a user