You need to sign in to do that
Don't have an account?
Praetorian65
Running an apex script
I have an apex script (ReadLicenses) that updates SF objects from my external db using a static Read() method. Is it possible to have a button somewhere that can activate the script or atleast schedule it to run?
The easiest way would be to create a visualforce page with the button and have a custom controller that holds the method which the button calls.
This method would just call your static read() method.
There are how to's on the wiki, but this will get you started.
If you want you can report back to the page what sobjects you processed and the like.
It's up to you how you want to go about this.
Hope this points you in the right direction.