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
kiran punurukiran punuru 

is there a way to set a field to true when a scheduler exceutes the apex

Can we set a field on opportunity to identify which is one is scheduled using apex scheduler.
Example :
I am sending an emails to opportunity owners on friday using apex scheduler .Is there a way to identify which for which opportunities the email was sent.
 
Thanks
Kiran
SalesFORCE_enFORCErSalesFORCE_enFORCEr
You can update the field in the FINAL method of your batch job.