antonioribeiro / health

Laravel Health Panel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken scheduler config

truesteps opened this issue · comments

Hey, it seems that the path for the scheduler config is wrong in the service provider in the registerTasks method. It should be config('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!

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