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

Simple Scheduler Error

Im not sure why im getting this error.


Compile error at line 1 column 14

Global type must be contained inside of a global class


on this code.


global class StatusTracking implements Schedulable{   global void execute(SchedulableContext SC)    {       StatusTracker st = new StatusTracker();st.Tracking();    } }

Shashikant SharmaShashikant Sharma

Its getting saved for me, can you give some more information. I was using version API version 22.0 for the class.