In the present paper, a weakly nonlinear stability analysis is used to analyze the effect of time-periodic concentration/gravity modulation on mass transport. We have considered an infinite horizontal fluid layer with constant appliedmagnetic flux salted from above, subjected to an imposed time-periodic boundary concentration (ITBC) or gravity modulation (ITGM). In the case of ITBC, the concentration gradient between the plates of the fluid layer consists of a steady part and a time-dependent oscillatory part. The concentration of both walls is modulated. In the case of ITGM, the gravity fleld consists of two parts: a constant part and an externally imposed time periodic part, which can be realized by oscillating the fluid layer. We have expanded the infinitesimal disturbances in terms of power series of an amplitude of modulation, which is assumed to be small. Ginzburg-Landau equation is derived for dinding the rate of mass transfer. Effect of various parameters on the mass transport is also discussed. It is found that the mass transport can be controlled by suitably adjusting the frequency and amplitude of modulation.