Problem
Apex code with callouts doesnt works when scheduled. After requesting the debug logs, I could see the following:
EXCEPTION_THROWN|[45,19]|System.CalloutException: Callout from scheduled Apex not supported.
Solution
You need to use the @future annotation. Refer Salesforce Blog for an example
Recent Comments