Activity › Forums › Salesforce® Discussions › Is it possible to schedule an apex class?
-
Is it possible to schedule an apex class?
Posted by Deepak on August 23, 2019 at 1:22 PMHow can I schedule an apex class on daily basis?
Saddam replied 6 years, 9 months ago 3 Members · 2 Replies -
2 Replies
-
Hi Deepak,
Yes, it possible to schedule an apex class. You have to choose weekly radio button from the frequency and select all the checkboxes(Sunday to Saturday):-
- Navigate to Setup, search for Apex in the Quick Find box, then select Apex Classes.
- Click Schedule Apex.
- Enter the job name, Example – Daily Account Update.
- Click the lookup button to search Apex class and select the class.
- Select Weekly for the frequency and select all the checkboxes.
- Select the start and end dates, and also the preferred start time.
- Click Save.
- [adinserter block='9']
-
Hi Deepak,
It is also possible to schedule an Apex class from the user interface by executing below steps:
1. Navigate to Setup, search for Apex in the Quick Find box, then select Apex Classes.
2. Click Schedule Apex.
3. Enter the job name, Example – Daily Account Update.
4. Click the lookup button to search Apex class and select the class.
5. Select Weekly or Monthly for the frequency and set options as needed.
6. Select the start and end dates, and also the preferred start time.
7. Click Save.
Log In to reply.