Schedule Delete Based on Date

Schedule Delete Based on Date

I am building a property management app and need to run a scheduled script once a week to delete records. I need to delete records that are older the 14 days and status is set to "rented".

I would appreciate any help.

Thanks,
Aaron