You air compressor turning on and off is also called cycling.  This could be caused by a number of factors. If your compressor is oversized or your system does not have enough storage, your compressor may cycle too much, causing major air quality problems and a lot of extra air compressor repairs.