Automatic action in DDB

Hello,

I would like to make a script that execute itself every minutes in my database for comparing the actual date with a date stored in a case in the database, and if Actual_Date > Date_In_Case, then : Delete the case where is stored the Date_In_Case.

What can I do for that ?

Thanks.