+ Start a Discussion

hi community Is schedule apex is synchronous or asynchronously executing?

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.

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)