1

We are in the process of building ant scripts for our deployments. We have scheduled apex jobs which run every 3 minutes to process some functions and currently our deploy targets are failing because it is complaining of schedulable class has jobs running. We cannot stop these jobs to facilitate the deployment. What is the solution to get around this? Anybody has any thoughts on this Thanks Buyan

1 Answer 1

2

Dan Appleman's sessions at DF13 outlines a solution to that problem - you can view the session here

Basically, you use the type for interface to avoid the class you are invoking from the scheduled class from being serialized...

1
  • Thanks British Boy. You saved my day. Credit goes to Dan Appleman!!! Dec 12, 2013 at 19:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .