in time
(early enough, within the time limit)
- We came home just in time; it’s 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 early)
- I have always paid my bills on time.
- You’re late again. Please try to be on time in future.