When you signed the lease with your landlord, you agreed to pay the landlord a certain amount of rent on a certain day of the month. The landlord is justifiably upset because you have not kept your promise. While getting paid at irregular intervals makes paying your rent on time problematic, the problem is yours rather than your landlords. The way that you can stop the landlord from evicting you is to pay your rent on time.
Disclaimer: This answer is provided for informational purposes only, does not constitute legal advice, and does not create an attorney-client relationship. Actual legal advice can only be provided after completing a comprehensive consultation in which all of the relevant facts are discussed and reviewed.