mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Laravel Vapor - Deployment day to production, update domain + enable schedule tasks
This commit is contained in:
+12
-14
@@ -50,23 +50,21 @@ class Kernel extends ConsoleKernel
|
||||
->withoutOverlapping();
|
||||
|
||||
if(env('APP_ENV') === 'production'){
|
||||
//cief todo: disable commands to avoid unintentional interfering with production starts
|
||||
// $schedule->command('email-do-to-vt-command')
|
||||
// ->dailyAt('10:00')
|
||||
// ->withoutOverlapping();
|
||||
$schedule->command('email-do-to-vt-command')
|
||||
->dailyAt('10:00')
|
||||
->withoutOverlapping();
|
||||
|
||||
// $schedule->command('seasonal-segmant-company-remove-command')
|
||||
// ->dailyAt('01:00')
|
||||
// ->withoutOverlapping();
|
||||
$schedule->command('seasonal-segmant-company-remove-command')
|
||||
->dailyAt('01:00')
|
||||
->withoutOverlapping();
|
||||
|
||||
// $schedule->command('delete-bulk-download-files-command')
|
||||
// ->hourly()
|
||||
// ->withoutOverlapping();
|
||||
$schedule->command('delete-bulk-download-files-command')
|
||||
->hourly()
|
||||
->withoutOverlapping();
|
||||
|
||||
// $schedule->command('booking-expired-command')
|
||||
// ->dailyAt('02:00')
|
||||
// ->withoutOverlapping();
|
||||
//cief todo: disable commands to avoid unintentional interfering with production
|
||||
$schedule->command('booking-expired-command')
|
||||
->dailyAt('02:00')
|
||||
->withoutOverlapping();
|
||||
|
||||
// DISABLED BY DEFAULT
|
||||
// $schedule->command('purchase-order-autofill-command')
|
||||
|
||||
Reference in New Issue
Block a user