Before this commit, create a contract which expire in 2 months. The cron will check all contracts that have a date_end >= tomorrow. All contract with a end_date will be close. Now we check all contracts that have a end_date <= yesterday and close it