Take a look at the Altium user community forum - there is a script posted showing how to run an output job from script https://forum.live.altium.com/#/posts/262333