• Chris Orme 5
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hello,

I opened a case with SFDC support and was redirected here. My original case comments are below. 

Hello,

In our Job Queue, there are ~25 jobs from as far back as February 2013 that are in a Status of Queued. I can't delete them in the UI, and when I tried running this query in the dev console: system.abortJob(JobId) for the specific job, I ran in to this error:

Line: 1, Column: 1
System.StringException: You can't abort scheduled Apex jobs by calling System.abortJob with an AsyncApexJob ID. Call System.abortJob with the parent CronTrigger ID.

How do I delete these old Queued Jobs?