You need to sign in to do that
Don't have an account?

Hello. I want to create a scheduled classin apex on leads which will email me new leads created with their name for every hour . How do i proceed with this? This is my first time using it.
I have created a class called "SCHEDULABLE" and added the following code. How do I proceed now? When I checked the Steup>Scheduledjobs it is empty!!.
global class Schedulable {
global void execute(SchedulableContext sc){}
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
}
global class Schedulable {
global void execute(SchedulableContext sc){}
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
}