Support Questions

Find answers, ask questions, and share your expertise

Running processors on fixed-time-intervals on Primary node

avatar
Expert Contributor

Hi,

I am using QueryDatabaseTable (on Nifi 1.0) to fetch rows from MySQL DB table. To reduce redundent executions, I have scheduled it on Primary node.

- However, doing so prevents me from scheduling this processor on a fixed-time since there is no option to do so (like CRON option, where you could specify a fixed time, say 9AM every day). I want to schedule it on fixed time, like 9AM every day. Is that possible? Any workaround?

Thanks

Obaid

1 ACCEPTED SOLUTION

avatar
Master Guru

In existing releases you can not do CRON scheduling with Primary Node Only.

An enhancement to support this was merged to master recently and will be included in the Apache NiFi 1.1 release, the JIRA is this ticket:

https://issues.apache.org/jira/browse/NIFI-401

View solution in original post

2 REPLIES 2

avatar
Master Guru

In existing releases you can not do CRON scheduling with Primary Node Only.

An enhancement to support this was merged to master recently and will be included in the Apache NiFi 1.1 release, the JIRA is this ticket:

https://issues.apache.org/jira/browse/NIFI-401

avatar
Expert Contributor

Thanks, that was very helpful,