get(); foreach ($reminders as $reminder) { $contact = Contact::findOrFail($reminder->contact_id); $account = Account::findOrFail($contact->account_id); $user = User::where('account_id', $account->id)->first(); $date = $reminder->next_expected_date->setTimezone($user->timezone); if ($date->isToday()) { Log::info($reminder->id); dispatch(new SendReminderEmail($reminder, $user)); dispatch(new SetNextReminderDate($reminder, $user)); } } } }