When Do You Pay Your Bills

I’m setting up my new landlord in my online billpay, and I’m thinking about having it automatically send a check for my rent as soon as I get paid every month, instead of waiting until the first. Is this a dumb idea? Does anyone else do this? I figure the upside is: Less math to do during the weeks between payday and rent day, won’t ever not have enough money for rent. Downside is, I can’t spend that money and then work something out last minute. Also: Emergencies? WHAT DO YOU DO?