function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Best way to run several batches to update records

I need to run several apex batches that will update non-archived Tasks and Events with some additional information.  I have a total of 16 apex classes that I need to run, and I am looking for some advice to figure out the best way to run them.  9 classes that I am going to run first but do not need to run in a specific order, but the other 7 have to be run in sequence after the completion of the first 9 classes. 

What is the best way to acheive this will I have to do it manually and monitor the results or can I write something?
Can I run all 9 of my beginning classes simultainously event though they will all update tasks and events?
Is there a way to write a class to run the remaining classes in sequence?  

Nayana KNayana K
I don't know if I am making sense here. 

Figuring out whether all 9 classes execution have completed can be difficult I think.
There is something called Queable apex through which job chaining is possible (sequence run). I think you can chain all the 16 classes to run in sequence.  I have never worked on this. Please check once in salesforce resources.