Support Questions
Find answers, ask questions, and share your expertise

Apache Nifi PutFile Processor

Explorer

How can we make the PutFile Nifi processor execute only at some specified date and time?

10 REPLIES 10

Master Guru

@Ankit13 

I would still use Cron scheduling on the PutFile processor, but rather than just having it run once at say hour 7, I'd schedule it to run every second starting at hour 7.  That may it starts putting files at hour 7 and continues to put files all the way until 07:59:59.   Then it stops executing until the next day.

http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html

Hope this helps, 
Matt