execbeat
execbeat copied to clipboard
Unclear how to execute a command with arguments
Hi,
I tried the following:
command: sometool arg1 arg2
arg:
command: /usr/bin/bash /full/path/to/script_that_contains_the_above_command_and_args.sh
arg:
command: /full/path/to/script_that_contains_the_above_command_and_args.sh
arg:
Finally this worked: command: sometool arg: arg1 arg2
I guess I should have tried this first, but the fact that arg parameter is optional threw me off. Could this please be documented in a more elaborate manner (with some examples)?
Thanks!