(imported topic written by SystemAdmin)
I’m having problems creating custom tasks using the script type of “sh”. Has anyone out there had any luck with this?
I’m unable to get even basic actions to work. This is an example of what I’m trying to do.
#!/bin/sh
ls /etc > /tmp/BigFix-ls-output
My relevance is set to “true” so all my servers are technically able to run it. Unfortunately when I take the default action, I get the following response back: “1 targeted computers reported this action non-relevant.”
Obviously I can get the same result through a simple BigFix Action Script, but I was hoping to use “sh” script type for some more complex UNIX scripts. The same (or similar) code works fine if I change it to a BigFix Action Script type.
wait ls /etc > /tmp/BigFix-ls-output
Any ideas?