If the landlord wants to gain access you must receive 24 hours notice in writing unless you agree otherwise. The exception would be in the case of an emergency.