ranjith-dev #278
@@ -3,8 +3,6 @@
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
|
||||
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote');
|
||||
@@ -13,6 +11,11 @@ Artisan::command('auto:scheduler', function () {
|
||||
$this->call('custom:scheduler');
|
||||
})->everyMinute()->withoutOverlapping();
|
||||
|
||||
Schedule::command('model:prune --pretend')// , ['--model' => WeightValidation::class]
|
||||
->description('Deletable Old Records From Database')
|
||||
->dailyAt('07:00')
|
||||
->emailOutputTo('digitalmanufacturingiiot@gmail.com');
|
||||
|
||||
// app()->booted(function () {
|
||||
// $schedule = app(Schedule::class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user