/ˈɑn ənd ˈɔf/
I've been studying Spanish on and off for a few years.
It rained on and off all afternoon.
They were dating on and off for about a year.
The internet has been going on and off all morning.
He worked on the project on and off whenever he had free time.