utc(); $now = now()->utc(); $userFlights = UserFlight::where('departure_date', '<=', $now->toDateTimeString()) ->where('departure_date', '>', $now->copy()->subMinute()->toDateTimeString()) ->get(); $this->info("Found {$userFlights->count()} flights."); foreach ($userFlights as $flight) { $flight->touch(); } $this->info("Touching flight {$flight->id}"); $result = $flight->touch(); $this->info("Touch result: " . var_export($result, true)); } }