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
sowmyaa Yakkalasowmyaa Yakkala 

how to send Email to all users on every Firday

I need to Send Email to All users on Every Friday @ 10Am . So can anyone suggest how to write a Workflow with time based.
Thanks in advance...
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi sowmya,

You can use scheduled apex and apex scheduler to run your apex class on a regular basis.
Please refer below links which might help you in this
https://developer.salesforce.com/forums/?id=906F0000000BancIAC
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm
https://help.salesforce.com/articleView?id=code_schedule_batch_apex.htm&type=5

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards