I'm working on a class that sends emails to the campaign owners when a startdate is due. In this way i'm using the SingleEmailMessage to send the emails but i'm held in between on the realization phase I.E how to do it?
I'm not an expert in SFDC but just started working on it. considering my ERP experience we have tools to schedule a job and i assumed that this would be a similar way here but realized it is quite different. I suppose i need to extend the class for 'Schedulable'. Given that my class will not be triggered or called by an event or trigger how to achieve this to run the job daily on specific time?
Regards PS
1
: Point and click '2' : By constructing a cron expression and executing it in dev console's execute anon block Cron Expression Construction