The compressor turning on and then off can be a defective compressor and related components. It also can be tuned on and off due to other conditions. Listed are the most common reasons:
1. Internal compressor overload
2. Faulty motor board or viscosity read out
3. Compressor windings
4. Start capacitor