command('dummy-command') ->everyFiveMinutes() ->withoutOverlapping(); $schedule->command('housekeeping-s3-files-command') ->dailyAt('01:00') ->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('seasonal-segmant-company-remove-command') // ->dailyAt('01:00') // ->withoutOverlapping(); // $schedule->command('delete-bulk-download-files-command') // ->hourly() // ->withoutOverlapping(); // $schedule->command('new-user-registration-expire-check-command') // //->dailyAt('23:55') //cief todo: original, to be reverted back to this // ->everyFifteenMinutes() // ->withoutOverlapping(); // $schedule->command('booking-expired-command') // ->dailyAt('02:00') // ->withoutOverlapping(); //cief todo: disable commands to avoid unintentional interfering with production // DISABLED BY DEFAULT // $schedule->command('purchase-order-autofill-command') // ->dailyAt('03:00') // ->withoutOverlapping(); } } //Commands Version 1: Before Laravel Vapor/AWS else{ // $schedule->command('inspire')->hourly(); $schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping(); $schedule->command('seasonalSegmantCompany:remove') ->dailyAt('01:00') ->appendOutputTo(storage_path().'/logs/soft-delete-seasonal-segmant-company.log') ->withoutOverlapping(); $schedule->command('delete:bulk-download-files') ->hourly() ->appendOutputTo(storage_path().'/logs/delete-bulk-download-files.log') ->withoutOverlapping(); $schedule->command('booking:expired') ->dailyAt('02:00') ->appendOutputTo(storage_path().'/logs/expire-booking.log') ->withoutOverlapping(); // $schedule->command('purchaseOrder:autoFill') // ->dailyAt('03:00') // ->withoutOverlapping(); } } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }