function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
venkata krishna reddy 1venkata krishna reddy 1 

scheduled class that is sending birthday wishes email to lead records that email is sent using template the template has subject "Happy Birthday" the problem is that emails go 2 times a day 6am and once in evening we need to stop 6am delivery

scheduled class that is sending birthday wishes email to lead records that email is sent using template the template has subject "Happy Birthday" the problem is that emails go 2 times a day  6am and once in evening we need to stop 6am delivery
Keyur  ModiKeyur Modi
Hi Venkata, 

how you have scheduled your scheduler through standard scheduler (provided by salesforce) or you have scheduled it with developer console ? 

what you have mentioned based on that I think you have scheduled your scheduler through developer console. if yes then schedule it with stadard scheduler. 


Please check and let me know, if you need more guidance.

Thanks, 
Keyur Modi