Hi Hollis,

If you go in the processor configuration, for each property you will see a
question mark symbol that gives details for each property. In the details
it also says if the property supports expression language [1] or not. You
can also find this information in the documentation of each processor
(right click on the processor / usage). In your case the command arguments
property does support expression language so you can use it to dynamically
define your arguments.

[1]
https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html

Pierre


2017-06-28 10:23 GMT+02:00 Hollis <[email protected]>:

> Hi All,
>         I am trying using "ExecuteProces”to execute remote shell hourly.So
> my properties is:
>        * Command:  *sh
>         *Command Arguments:  *-c;ssh [email protected] sh /opt/
> shell.hourly.sh 2017062816 <(201)%20706-2816>
>         *Argument Delimiter: * ;
>
>         In the command arguments, I want to pass different hour as showed
>  like '2017062816 <(201)%20706-2816>' in this hourly.That mean in the
> next hour I want to execute this sh using command*  '*-c;ssh
> [email protected] sh /opt/shell.hourly.sh 2017062817 <(201)%20706-2817>'.
> So is there any variable support in nifi.
>
>
> Thanks!
>
>
> Best Regards,
>
> Hollis
>
> Software Engineering
>
>

Reply via email to