You need to sign in to do that
Don't have an account?
Opster
Packaging an Apex Scheduled Class?
I have an Apex Class that is Schedulable. What is the proper way to package this class so that when a user installs it into their org it automatically schedules the class to run?
Hi Opster,
We can only package the class and to schedule it you have to do that manually on target org.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
I added a configuration page to our app that has a one-click button to enable the scheduled jobs we need, but you can also use a visualforce page that's set as the "Splash Page Custom Link" for a tab and have that splah page ensure the jobs are scheduled.
Right now there's no automated way to schedule the jobs at the end of the package install process sadly.
Good bit of info.... thanks.