program
noun
a plan of action to accomplish a specified end.
Used to describe an action that was ongoing continuously in the past up until another past event interrupted it.