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

Executing S-control from Java code

I have a custom Scontrol which does some calculations and populate some custom fields,and there is no User interface involved in this.
I would like to execute this Scontrol periodically with no user involvement.Is there a way to do it?
Or Is there a way/API to execute(invoke) this Scontrol from Java Code.
If yes is it a good practice to do it.
No, this isn't possible.  You could have a Java program wake up periodically and perform the calculations itself, however.