Run batch file before and after job
Run batch file before and after job
Is there a way to automatically run a launch command on all render nodes before a render node starts rendering a new job then run another launch command on all render nodes after it finishes rendering the job?
Re: Run batch file before and after job
Hi.
You can write a command wrapper.
For example some script that will replace "render command", which can contain:
You can write a command wrapper.
For example some script that will replace "render command", which can contain:
Code: Select all
pre_script.sh
"render command"
post_script.sh
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Run batch file before and after job
Thanks. Where would I place this? Or is this a custom render command script?
Re: Run batch file before and after job
Yes, this is a custom command script.
You should replace your "render command" by this.
You should replace your "render command" by this.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).