some progress
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Console\Commands\TmdbFetch\FetchExportCommand;
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Facades\Schedule;
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote')->hourly();
|
||||
|
||||
// fetch export every week, saturday at 8 and 9
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user