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
Donny ReblitzDonny Reblitz 

Too many queueable jobs added to the queue

I have a scheduled job that stopped running yesterday. In trying to re-run the job I deleted the scheduled job and re-ran the script to execute the job again but getting the following error:
First error: Too many queueable jobs added to the queue: 2

I don't see any other apex jobs scheduled so confused as to how there could be a 2nd queueable job in the queue. In the meantime, I'm unable to kick this job off until that error has been resolved.

Please help!
v varaprasadv varaprasad
Hi Donny,

Please check below links : 



http://raviduttsharma.wixsite.com/salesforce/single-post/2017/07/01/Salesforce-Hacks-SystemLimitException-Too-many-queueable-jobs-added-to-the-queue-2

https://readsalesforce.wordpress.com/2017/07/31/first-blog-post/

Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.

Thanks

Varaprasad
@For  Support: varaprasad4sfdc@gmail.com
Blog : http://salesforceprasad.blogspot.com/