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
Admin Admin 31Admin Admin 31 

Schedulable class has pending jobs error while deploying

Hi,
I´m trying to deploy using the ant tool and I´m getting the error stated in the title for every class in the environment.
I tried to solve the issue by compiling all the classes and deleting all the jobs. Currently, all the jobs are in the "DELETED" state, but one, which is in the "ACQUIRED" state.
Any clues what this issue is about? what is this ACQUIRED state? i couldn´t abort the job.....
Thanks in advance.
Shri RajShri Raj
Hey give a try calling the Salesforce Customer Care. Since i had the same problem earlier. They have given me some command to delete the job which was not showing on the UI but it was running in the backend. I have searched everywhere to find the command but i couldnt find it. Sorry ! But yep, They will surely help. 
Admin Admin 31Admin Admin 31
ok, i´ll try that. Thank you :)
Admin Admin 31Admin Admin 31
I tried aborting all the jobs but I get an error about limits, therefore, I used the abort command, only with the job in ACQUIERED state and that´s where I get the error that says "Read of id returned an invalid id '000000000000000'"