cmd
Description
execute a shell command
Parameters
shell(optional): the absolute path of the shell to execute the command, by default/bin/shcmd(required): the command to executeexample: find . -name *.pyc | xargs rmcwd(optional): the current working directory to execute the command, be default/opt/visualops/tmp/user(optional): the user to execute the command, by default the user which the agent runs asgroup(optional): the group to execute the command, by default the group which the agent runs asenv(optional): environment variables for the commandtimeout(optional): command timeout, by default600(in seconds)note: By default, a command will be terminated and taken "failed" if not finishe in 600 seconds. However you can change with this option.
if-path-present(optional): the command will run only if all specified paths existif-path-absent(optional): the command will not run if any of the specified paths exists