0

I am not able to access CronJobDetail object when my class is in with sharing mode. Getting the below error:

sObject type 'CronJobDetail' is not supported.

Any idea?

Thanks!

1
  • 1
    Can you post your whole code?
    – cmmoutes13
    Sep 2, 2016 at 12:34

1 Answer 1

2

Make sure that your class is using Salesforce.com API version 29 or higher as noted in CronJobDetail doc

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.