Skip to content

codingogre/nifi-flow-scheduler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

NiFi Flow Scheduler

Program to schedule a processor to run at a specified time along with its process group

Required Software: Groovy http://groovy-lang.org/download.html

usage: nifi-flow-scheduler.groovy <OPTIONS> <COMMAND>
Options
 -h,--help                      Usage Information
 -n,--host <hostname>           Hostname of the NiFi manager
 -p,--processor <processorId>   Processor in a process group that will be
                                scheduled to run
 -s,--start                     Start the processor group
 -t,--port <port>               Port of the NiFi manager
 
 Example: This will configure a flow with a processor ID of cbccc925-0158-1000-a8f4-1cb4e1441bc0 to start immediately
 
 groovy nifi-flow-scheduler.groovy --processor cbccc925-0158-1000-a8f4-1cb4e1441bc0 --host myhostname --start

You can find the Process ID for a given processor by looking at its "SETTINGS" tab of a processor's configuration.

Example1

Example2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 100.0%