+ Start a Discussion
Satya sai sudhirSatya sai sudhir 

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();