Is it possible to globally impose a PreTaskScript for all jobs submitted to the MayaBatch plugin? I’m able to insert this when jobs are submitted through our pipeline, but I’ve got users submitting jobs through a variety of ways (monitor, Maya, etc).
Is my best bet to edit the relevant submitters, or is there a global catch I can tap into? I was hoping to avoid a global event script listening for OnJobSubmittedCallback, but this is starting to seem like a good option too…
Actually, the JobPreLoad hook seems to be exactly what I need! I’m mainly checking/copying files and setting environment variables. The only reason I was barking up the task-tree was because I needed the checks to run on a per-slave basis, not just once per job.