Skip to content

Commit

Permalink
tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
subhadipghorui committed Jan 25, 2021
1 parent 99b813a commit 673c4b8
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,21 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
// php artisan backup:run
$schedule->command('inspire')->everyMinute();
$schedule->command('backup:clean')->everyTenMinutes();
$schedule->command('backup:run')->everyTenMinutes();
$schedule->command('optimize:clear')->daily();
$schedule->command('config:cache')->daily();



$schedule->command('view:clear')->hourly();
$schedule->command('view:cache')->hourly();
$schedule->command('auth:clear-resets')->weekly();

$schedule->command('queue:work')->withoutOverlapping()->runInBackground();
$schedule->command('queue:flush')->weekdays();


$schedule->command('backup:clean')->dailyAt('01:00')->timezone('Asia/Kolkata');
$schedule->command('backup:run')->dailyAt('01:00')->timezone('Asia/Kolkata');
}

/**
Expand Down

0 comments on commit 673c4b8

Please sign in to comment.