How to run query automatically on a given database ( SQL ALCHEMY )
<p>I'm building a project using jinja2 for python &amp; sql alchemy, and i would want the database to modify its own data at specific time. I had a hard time googling it because i've never done it before, so i don't properly know what to search in the first place.</p>

<p>To be a bit more concrete, let's say i'm selling products that got an expiration date. I would like my database to delete every products when the expiration date is past today.</p>

<p>What should i look for, and how do i even start to do this kind of thing, using python ( jinja2 ) &amp; sql alchemy ? thanks for any references and/or global comprehension about this !</p>