title: How can I check database field every day?Cron job?
body: <p>I' m developing application in Java which is connected to database (Oracle or SQLite). In database I store contracts. The contract has field <code>access_date</code>. And i want to check this field once every day and if one day <code>access_date</code> will be equal to the current date then mark the contract as not valid. How can I implement this? In PHP as far as I know there are cron jobs for such tasks but what about java or java ee? How can I do this?Thanks in advance!</p>