+ Start a Discussion

Apex scheduler + email


I am looking for resource on internet for combination of apex scheduler and email.

I want to check in Product__c the field end_date__c if the end date is expired then, i want to make checkbox active__c to false..and i also want to realize if the end_date__c is less approaching, it should send email 1 week before to administrator that the product is expiring.

Thanks in advance !

cheers !

Best Answer chosen by Sandrine
you can use time depend work flow based on end date , update fild and semd email