0

Is there any attribute that i can specify in build.xml to deploy scheduled classes through ant?

3

If you have a Scheduled Job which has code referenced you are deploying, it will fail with that error.

You need to remove the scheduled jobs (DELETE) from the Scheduled Jobs. To confim / remove the scheduled jobs: Setup -> Monitoring -> Scheduled Jobs

Also you need to remove the Batch Jobs if any are queued or in progress. Setup -> Monitoring -> Batch Jobs .Direct from salesfroce forums. Hope this solves your issue.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.