scheduler

This commit is contained in:
2018-11-26 08:44:57 -06:00
parent 115b6353a3
commit 96c35a4109
2 changed files with 66 additions and 2 deletions
+6 -2
View File
@@ -16,6 +16,7 @@ class Kernel extends ConsoleKernel
Commands\CorpJournal::class,
Commands\getCorps::class,
Commands\sendMail::class,
Commands\UpdateMoonPricing::class,
];
/**
@@ -27,10 +28,13 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
{
$schedule->command('services:corpjournal')
->everyHour()
->hourly()
->withoutOverlapping();
$schedule->command('services:getcorps')
->everyDay()
->daily()
->withoutOverlapping();
$schedule->command('services:updatemoonprice')
->hourly()
->withoutOverlapping();
//$schedule->command('services:sendmail')
// ->monthlyOn(1, '09:00')