Implement cron to remove expired bids

This commit is contained in:
Kevin
2018-08-25 01:07:14 +08:00
parent 1c32ef838d
commit 796053cfa5
8 changed files with 242 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Providers;
use App\Cron\Nightly\RecalculateStats;
use App\Cron\Nightly\SetActiveFlights;
use App\Events\CronHourly;
use App\Events\CronMonthly;
use App\Events\CronNightly;
use App\Events\CronWeekly;
@@ -33,5 +34,9 @@ class CronServiceProvider extends ServiceProvider
CronMonthly::class => [
\App\Cron\Monthly\ApplyExpenses::class
],
CronHourly::class => [
\App\Cron\Hourly\RemoveExpiredBids::class
],
];
}