I'd like to call the publish process (scan => pre_publish => primary_publish => secondary_publish => post_publish) but outside of a user session. There are a few use cases:
* a job has been rendered on the farm and the user wants to publish the scene+renders without having to open the scene again (which might take some time on heavy scenes)
* a user is launching a render on the farm with a "Publish when job is done" option so that the renders will be ready to be picked up as soon as the job is finished
I don't think duplicating the logic in each of the publish hooks is a good idea, so ideally this lightweight "publish process" would run a batch maya/nuke and would call tk-multi-publish. What's the best way to do that without a GUI?
Thanks for your help,