+ 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.
You can update the field in the FINAL method of your batch job.