Adobe After effects watch folder render all composition
Make sure that only the comps you want rendered are in the top level of the project. If there are compositions that you don't want rendered, such as subcomps, put them in a folder in your project window