How to schedule an apex class to execute to every 30 minutes

By: Prem Tiwari | Last Updated: | In: Salesforce


We have recently started to share the SalseForce snippets to help of SalseForce developers. If you want to schedule any periodic event in Salesforce, then keep your attention in this tutorial as I am to share how to schedule an apex class to execute to every 30 minutes.

you can use the System.schedule method in your apex class to schedule an event to execute.

How to schedule an apex class to execute to every 30 minutes

Copy the below code and use it in your apex class to execute your apex after every 30 minutes.


About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


Tags: , , ,