better execution of custom commands on nodes
Posted: Tue Mar 19, 2019 12:49 am
Hey all!
There are 2 ways I can see of sending a command to a node...
1. Renders tab, RMB, "Administrate" - "Launch Command". This is fantastic! No password and very easy, except you have to type or copy in one of the commands each time.
2. Using plink in custom commands in the config.json. This is how I extensively use this now! It's great, but I have to enter in a password for every command for every node(not so great).
(Users are on Windows and our Blades are all Linux)
for eg:
Can I use the same "Launch Command" technique, in the af_rendercmds custom menu? Which would circumvent the need for plink, a new connection, and inputting user and password. (yes I know you can hardcode the password in as well as the user, but this would mean the password is exposed for everyone to read.)
For eg, how would I create an "af_rendercmds" entry that runs "sh /mnt/q/cgruNode2222/killOlderMaya2.sh" using the "Launch Command" technique instead of plink?
Or would I have to go into the c++ and include commands there?
The goal is a list of commands that I regularly use that I can click on, that I don't have to type the password in for.
Choice
Brother John
There are 2 ways I can see of sending a command to a node...
1. Renders tab, RMB, "Administrate" - "Launch Command". This is fantastic! No password and very easy, except you have to type or copy in one of the commands each time.
2. Using plink in custom commands in the config.json. This is how I extensively use this now! It's great, but I have to enter in a password for every command for every node(not so great).
(Users are on Windows and our Blades are all Linux)
for eg:
Code: Select all
"af_rendercmds":[
"q:/cgruWin222/utilities/plink.exe renderboy@@IP@ \"sh /mnt/q/cgruNode222/killOlderMaya2.sh\"",
For eg, how would I create an "af_rendercmds" entry that runs "sh /mnt/q/cgruNode2222/killOlderMaya2.sh" using the "Launch Command" technique instead of plink?
Or would I have to go into the c++ and include commands there?
The goal is a list of commands that I regularly use that I can click on, that I don't have to type the password in for.
Choice
Brother John