From the movie Source Code -
As part of an experimental government program, a soldier (Jake Gyllenhaal) is forced to relive a train bombing over and over until he can find the terrorist who is responsible.