Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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,