I have a scenario where we are having a batch apex(batch size 1000) to be schedule to run daily which perform API callouts. I need to split batches to run after every one hour means one batch for an hour and after that next batch should be executed. Please suggest me how to get this done.

Thanks in Advance

1 Answer 1


You can call one batch after another within the finish() method; you can also use the System.scheduleBatch() method if you want to wait an hour (or any arbitrary number of minutes) after the last Batchable method finishes. That said, if you need to call one after the other, you probably don't need to wait an hour, you can just start the next process when the previous one finishes.

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.