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
Petr Částek 3Petr Částek 3 

Schedule does not work in controller constructor

I have a visualforce page with custom controller. In controller constructor I placed System.schedule(). The page showed without error (schedule invocation was without exception), but no job was planned. Probably it relates to "DML currently not allowed" exception which does not occur when using system.schedule() but occurs if i placed insert, update, upsert or delete in VF page constructor.