Fix: Job to check invoice due dates was never run
Made it a command so it runs with the scheduler
This commit is contained in:
@@ -16,16 +16,5 @@ class EventServiceProvider extends ServiceProvider
|
||||
public function boot(): void
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
// // TODO: read where to put these or ask in the forums
|
||||
// // it seems to work here, but where is the apropriate place?
|
||||
// // Kernel::schedule did not work
|
||||
Schedule::command('caldav:sync')
|
||||
->everyMinute()
|
||||
->withoutOverlapping();
|
||||
|
||||
Schedule::job(new CheckInvoiceDueDatesJob())
|
||||
->daily()
|
||||
->withoutOverlapping();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user