codestudiohq / laravel-totem

Manage Your Laravel Schedule From A Web Dashboard
MIT License
1.78k stars 224 forks source link

Allow database cache driver for onOneServer #265

Closed jonah-dev closed 3 years ago

jonah-dev commented 3 years ago

Per the documentation: https://laravel.com/docs/8.x/scheduling#running-tasks-on-one-server

You should be able to use onOneServer() when using the database driver, but it's currently not supported here. Is there any reason to disallow the use of the database driver? If not, I can create a pull request for this.

https://github.com/codestudiohq/laravel-totem/blob/8.0/src/Providers/ConsoleServiceProvider.php#L53-L55

qschmick commented 3 years ago

@jonah-dev Feel free to open a PR for review.

jonah-dev commented 3 years ago

@qschmick I believe this can be closed. Not sure if you wish to link the PR associated with it. https://github.com/codestudiohq/laravel-totem/pull/269 but I don't seem to be able to.