Payments2Us ManualsPayments2Us - Frequently Asked QuestionsBatch Processor - FAQIn the Apex Job logs, I see that the batch processor scheduler is constantly being aborted

In the Apex Job logs, I see that the batch processor scheduler is constantly being aborted

In the Apex Jobs, the Batch Processor is constantly being aborted/submitted. The reasons for this are:

  • Salesforce ONLY provides a method of running a batch processor daily. Payments2Us need this to run more frequently.
  • Payments2Us schedule for 10 minutes time. The Batch Processor starts in 10 minutes.
  • Then instead of waiting a whole day, Payments2Us cancel the job and then reschedules to run again in the next 10 minutes time.
  • The above means Payments2Us can effectively run the batch processor every 10 minutes, vs. daily.

Sometimes, what can happen is Salesforce delays the batch process due to maintenance, server loads etc. and the sequence of this can go out and then the possibility of 2 run. When this happens, you need to STOP, then re-START the Batch Processor.