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:
2026-03-05 10:42:40 +01:00
parent 4ee1d01e38
commit c470240dc0
8 changed files with 82 additions and 63 deletions
-11
View File
@@ -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();
}
}