How can we schedule apex programs ?



How can we schedule apex programs ?..

Answer / Sumit Panday

Apex programs can be scheduled to run at specific times using Apex Scheduled jobs. You create an Apex class with the @Schedulable annotation and define the methods that should be executed as part of the job. Then, you create a Cron Expression that specifies when the job should run and associate it with your Schedulable class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

What are apex unit tests?

1 Answers  


What is the use of implements in lightning component? : salesforce lightning component

1 Answers  


How do you call an API in Salesforce?

1 Answers  


Explain the static methods and variables in salesforce?

1 Answers  


What is an external id in salesforce? Which all field data types can be used as external ids? : salesforce crm

1 Answers  


How do you create a custom object in salesforce?

1 Answers  


What would happen if I perform a dml update operation on the before update trigger of the same sobject record ?

1 Answers  


What is field Set?

1 Answers  


What happens to a detailed record when a master record is deleted?

1 Answers  


How can you setup governor limit email warnings in apex ?

1 Answers  


What is lightning connect ?

1 Answers  


What is the use of apex email services ?

1 Answers  


Categories