The effects of time-periodic forcing in a few-mode model for zero-Prandtl-number convection with rigid body rotation is investigated. The time-periodic modulation of the rotation rate about the vertical axis and gravity modulation are considered separately. In the presence of periodic variation of the rotation rate, the model shows modulated waves with a band of frequencies. The increase in the external forcing amplitude widens the frequency band of the modulated waves, which ultimately leads to temporally chaotic waves. The gravity modulation, on the other hand, with small frequencies, destroys the quasiperiodic waves at the onset and leads to chaos through intermittency. The spectral power density shows more power to a band of frequencies in the case of periodic modulation of the rotation rate. In the case of externally imposed vertical vibration, the spectral density has more power at lower frequencies. The two types of forcing show different routes to chaos.