new car question

Not sure about cars, but I know diesel trucks have an hour meter. A place I used to work for has an '07 F350, the foreman would sit in it with the A/C on just idling and it shut down one day. It was taken to the dealer and we found out it shut down after "excessive" idling.