spatie / laravel-schedule-monitor

Monitor scheduled tasks in a Laravel app

Home Page:https://spatie.be/open-source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setting connection for models

crissi opened this issue · comments

I have my monitored task on a database connection that might not be the current one.

Would you accept pr to be able set connection?

I'd accept a PR that allows using a custom model. It should be checked that the custom models extends from the corrent model.

User may use a different connection by using a custom model and setting a different connection on there.

Make sure to include an updated readme and tests.