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
Saravana RavikumarSaravana Ravikumar 

I would like to schedule an Apex code which updates a significant number of account records during non-business hours, as and when required. Which interface/'s should I use in the class definition ?

Best Answer chosen by Saravana Ravikumar
Arun Kumar 1141Arun Kumar 1141

Hi Saravana,

You can use the the schedulable interface.

 

public class MyScheduledClass implements Schedulable

If you find this helpful, please mark it as best answer.

Thanks.