In NiFi 1.26.0 and higher, you can type "cron" into the Search Bar in the
NiFi UI and find all components using the CRON driven strategy.

You can also gunzip the flow.json.gz, pretty print it to make all fields be
on a separate line, then use grep.
gunzip flow.json.gz -c | jq . | grep schedulingPeriod

For conflicts, doing many things on the exact same CRON schedule should not
cause any problems within NiFi itself.  If you are interacting with
external stateful systems, however, I could see taking some extra care with
how you configure NiFi flows.

Regards,
-- Mike


On Mon, Aug 19, 2024 at 7:29 AM Rafael Fracasso <[email protected]>
wrote:

> Hi James, not really a super simple way but you can get it through nifi
> rest-api <https://nifi.apache.org/docs/nifi-docs/rest-api/index.html>.
> You will need to iterate over all processors to find which one have
> schedulingPeriod (processors.[*].component.config.schedulingPeriod)
>
> Best regards.
>
> On Mon, Aug 19, 2024 at 5:06 AM James <[email protected]> wrote:
>
>> Hi
>>
>> Is there a simple way to extract a list of all the cron schedules for all
>> processors?
>>
>> Do you all manage those schedules outside of Nifi to prevent conflicts?
>>
>> thanks for any help/guidance.
>>
>> James
>>
>

Reply via email to