disable model cache for recurring and reminder
This commit is contained in:
@ -45,6 +45,9 @@ class RecurringCheck extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
// Disable model cache
|
||||
config(['laravel-model-caching.enabled' => false]);
|
||||
|
||||
// Get all companies
|
||||
$companies = Company::enabled()->cursor();
|
||||
|
||||
|
Reference in New Issue
Block a user