Hi,
I am using below script, but it is always getting failed on linux command ps aux | awk {‘print $8’}|grep Z|wc -l &> /{parameter “Error_Folder”}/output.txt. However this command works fine and giving output in output.txt when i run this directly on linux. I need guidance on this.
action parameter query “Error_Folder” with description “Please enter the Folder Name and Path” with default value “”
delete __createfile
createfile until EOF
#!/bin/bash
ps aux | awk {‘print $8’}|grep Z|wc -l &> /{parameter “Error_Folder”}/output.txt
EOF
delete Zombie.sh
move __createfile Zombie.sh
wait /bin/sh “Zombie.sh”