You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by James McMahon <js...@gmail.com> on 2018/02/26 20:41:13 UTC

How does processor run duration impact scripts in ExecuteScript?

Good afternoon. I have a python script that progresses through a complex
directory structure, and is called by an ExecuteScript processor.

There is a for loop in the script. What happens if I set Run Duration on
the processor such that the loop is not complete when run duration expires?
Will the loop finish, and then the processor cycle end? Or does the
expiration of run duration force an interruption of the script logic? How
is run duration working with or not with the script itself? Thank you.

Re: How does processor run duration impact scripts in ExecuteScript?

Posted by James McMahon <js...@gmail.com>.
Please disregard and pardon my question. Evidently not all processors offer
the "Run duration" configuration parameter, and ExecuteScript is one that
does not. My apologies.

On Mon, Feb 26, 2018 at 3:41 PM, James McMahon <js...@gmail.com> wrote:

> Good afternoon. I have a python script that progresses through a complex
> directory structure, and is called by an ExecuteScript processor.
>
> There is a for loop in the script. What happens if I set Run Duration on
> the processor such that the loop is not complete when run duration expires?
> Will the loop finish, and then the processor cycle end? Or does the
> expiration of run duration force an interruption of the script logic? How
> is run duration working with or not with the script itself? Thank you.
>