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

Purpose of Apex scheduler
Hi folks,
Can anyone tell me the purpose of apex scheduler and how to use apex scheduler?
give me the simple example for that?
Thanks in advance
Karthick
Can anyone tell me the purpose of apex scheduler and how to use apex scheduler?
give me the simple example for that?
Thanks in advance
Karthick
Apex schedular is used to invoke apex class at a specific time. Suppose there is a apex class that needs to be invoked every 15 mins, you can write a schedular class that will invoke the deisred class every 15 mins.
Salesforce has provided some example have a look at the following link
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm
https://help.salesforce.com/HTViewHelpDoc?id=code_schedule_batch_apex.htm&language=en_US
Hope this helps.
Regards,
Bhushan
I wanna send a mail every 10 mins
for that How can I do?
please help!