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
ProcessAccs pa= new ProcessAccs(); String cronStr = '0 0,30 * * * *'; System.schedule('Process Accs Job', cronStr, pa);
There is no limit to schedule, you can schedule for every 5 mins or 2 mins based on the requirement you can schedule. Below I have added sample snippet for schedule a class.
If you run the above code in the console it will execute every 30 mins.
Let me know if you have any question regarding this.
Thanks,
Vijay.