"on time" means punctual, at the time something is due. It fits your sentences better. "in time for" can be used in the following: I'll be in time for the start of the movie, but will miss all the previews of coming attractions.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.