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
sultansultan 

hi community Is schedule apex is synchronous or asynchronously executing?

RishavRishav
HI Raju,
               schedule apex is executing asynchronously. Because salesforce say that :Salesforce schedules the class for execution at the specified time. Actual execution may be delayed based on service availability. so it comes under the asynchronous execution .
one more thing:  Synchronous Web service callouts are not supported from scheduled Apex.  so now yu can say that schedule apex is executing asynchronously.

 Thanks
Rishav
praveen murugesanpraveen murugesan
Hello Sultan,

Schedule apex is a synchronous process. All the governor limit existing for synchronous process will be applicable for this also.

Here is the proof. In this schedule class is showing error for 101 soql limit error.

Link (http://salesforce.stackexchange.com/questions/55570/does-scheduled-apex-use-synchronous-or-asynchronous-governor-limits)

Thanks.