Fixes for regression in Scheduler (#3674)

This commit is contained in:
David Bomba 2020-05-05 07:51:03 +10:00 committed by GitHub
parent e3e52987c3
commit e5a0a73e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ class Kernel extends ConsoleKernel
/* Run hosted specific jobs */
if(Ninja::isHosted()) {
$schedule->json()->daily(new AdjustEmailQuota())->daily;
$schedule->job(new AdjustEmailQuota())->daily();
$schedule->job(new SendFailedEmails())->daily();
}
/* Run queue's in shared hosting with this*/