Auto approval for leave application after 24 hours when the application is posted

My Requirement :
In the Leave application module employees are able to apply the leave. so the leave application status is open. So HR can’t able to respond the leave application within 24 hours. It should be auto-approved and the status to Approved sends an email.

I have searched on Google but I can’t find any solutions. My version is ERPNext: v14.29.1. Guide me on this. Thanks in advance.