You need to sign in to do that
Don't have an account?
Saswat Mohanty
Deleting two records for certain objects which affects the batch scheduler class execution
Hello,
Currently in UAT environment, the batch jobs are not running and it shows the error as Apex job named "BatchQueueRunning" is already scheduled for execution.
The possible scenario is after refresh of UAT sandbox from live, two records were imported to UAT which we are unable to delete.
• one record for object "CronTrigger"
• one record for object "CronJobDetail
Also, even though we want to change the scheduler class name we can not do so as those dirty records are using the schedule apex class.
Could you please help.
Currently in UAT environment, the batch jobs are not running and it shows the error as Apex job named "BatchQueueRunning" is already scheduled for execution.
The possible scenario is after refresh of UAT sandbox from live, two records were imported to UAT which we are unable to delete.
• one record for object "CronTrigger"
• one record for object "CronJobDetail
Also, even though we want to change the scheduler class name we can not do so as those dirty records are using the schedule apex class.
Could you please help.
Check this
If this solves your problem, kindly mark it as the best answer.
Hit Like, if it saved your work :-)
Regards,
Magulan
http://www.infallibletechie.com