function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
The below article will guide how to Schedule an Apex class and it even has sample code snippet,
https://salesforce.stackexchange.com/questions/80277/sample-code-to-schedule-an-apex-class
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm
This below article will guide you on how to schedule a batch apex class with code too.
https://developer.salesforce.com/forums/?id=906F00000008yKuIAI
https://salesforce.stackexchange.com/questions/24467/scheduling-batch-apex
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks.
Please go through the following links:
https://trailhead.salesforce.com/en/content/learn/modules/asynchronous_apex/async_apex_scheduled
https://www.appseconnect.com/apex-scheduler-in-salesforce/
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Sachin Arora