function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chinu_SFDCChinu_SFDC 

Can I schedule a normal synchronous apex class using schedulable interface ?

Hi,
I know that a batch class can be scheduled using Schedulable interface.
I dnt want to schedule a batch class.. I want to schedule a normal apex class (synchronous apex class).

Can i do it ? if yes how can i acheive this ?

CharuDuttCharuDutt
Hii Chinu_SFDC
Try The Following Steps:
1: in Quick Find Box Search"Apex"
2: Click "Apex classes" Option
3:New Window Will Open Click On Schedule Apex Button.
4: Window will Open As Shown below In image.
5: Add Any Apex That You Want To Schedule.Fill The Required Fields.& Press Save button

User-added image
PLease mark it As best answer If it Helps.
Thank You!