You need to sign in to do that
Don't have an account?
Help scheduling an Apex class
Hi, there is a Apex class tied to a managed package. It is failing as it is currently running with an inactive user.
We get emails like "Failed to process batch for class 'stayclassy.ClassyAggregateBatch' for job id 'XX'"
If I go to Apex Classes -> Schedule Apex, I do not see it. I see the similar named "ClassyAggregate"
Any reason why I can't schedule ClassyAggregateBatch? Thanks. I am not a developer.
We get emails like "Failed to process batch for class 'stayclassy.ClassyAggregateBatch' for job id 'XX'"
If I go to Apex Classes -> Schedule Apex, I do not see it. I see the similar named "ClassyAggregate"
Any reason why I can't schedule ClassyAggregateBatch? Thanks. I am not a developer.
Please check the "ClassyAggregate" class has batchable interfaces. If the ClassyAggregate has below methods, we can able to schedule it.
If this helps, please mark it as best answer.
Thanks,
Ankaiah
you can easily schedule an Apex Class by calling it into schedule class with proper chrone expressions
here is the below example which will help you
https://www.appseconnect.com/apex-scheduler-in-salesforce/
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi