in time
(early enough, within the time limit)
- We arrived home just in time; it was starting to rain.
- The check arrived just in time. We flew to Miami the next day.
on time
(at the appointed time, neither later nor earlier)
- I have always paid my bills on time.
- You’re late again. Please make an effort to be on time in the future.