They run automatically and serve the units that are in the worst supply condition first.
One way to influence the process is to make sure you have enough of these units and enough supplies in the country for these units only deliver if these are goods available to deliver.
If there are enough supply units and supplies in the country, all military units will be OK.