How can we schedule the nifi data stream? I am using HDP 2.5

I want to schedule data flow in a daily database via nifi.

For example, I need to run a schedule at 9.00 in the morning every morning.

Can someone tell me what is the procedure for creating a schedule data stream?

+4
source share
1 answer

Three planning strategies are available, see details below.

  • Timer . This is the default mode. It is planned that the processor will work at regular intervals. The interval at which the processor starts is determined by the "Run Schedule" parameter (see below).

  • , . , , , FlowFiles , . . , " " , , . , , " " 0. , , .

  • CRON. , CRON, , . , CRON, . CRON , .

:

  • : . , , .

  • . , .

  • . /syntax. , "" 0/15 0, 15, 30 45.

:

  • * - , .

  • ? - , . " " " ".

  • L - L , . , 1L .

:

  • 0 0 13 * *? , , 1:00 PM .

  • 0 20 14? * MON-FRI , 2:20 .

  • 0 15 10? * 6L 2011-2017 , 10:15, , 2011 2017 .

:

  • 0109 *? ** - 1 09 - 9 * .

, .

+7

Source: https://habr.com/ru/post/1680691/


All Articles