There's process_cq to make whatever is queued up in a settlement, at least. I don't know if that only takes buildings though. I would guess at process_uq for units if cq doesn't do the trick.