Closed truesteps closed 2 years ago
Should be fixed now.
@antonioribeiro hey! sorry but please reopen the issue. When I configure the scheduler from the app config, despite it registering properly I get an exception saying "The class [cahce] does not exist".
@truesteps , what Laravel version?
@antonioribeiro, I am on laravel 8 currently, more specifically v8.10.0
Hey, it seems that the path for the scheduler config is wrong in the service provider in the
registerTasks
method. It should beconfig('health.notifications.scheduler.enabled')
and($frequency = config('health.notifications.scheduler.frequency')) &&
.As a hotfix, simply move the scheduler key out of the notifications wrapper part of the config, but that seems to break the whole app on Laravel 8. I just manually registered the health checks for now, but I think you should fix it :).
If you need more info/context, i'll be happy to help!