#!/usr/bin/env php Usage: email_expire_services_to_customers.php (test|confirm) (thirdparties|contacts) [delay] [after] Send an email to customers to remind all contracts services to expire or expired. If you choose 'test' mode, no emails are sent. If you add param delay (nb of days), only services with expired date < today + delay are included. If you add param after (nb of days), only services with expired date >= today + delay are included.