Off and on

Occasionally.

The man has studied French off and on but he is not very serious.