nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Lim <>
Subject Re: Scheduling using CRON driven on Windows OS
Date Thu, 16 Jun 2016 17:44:24 GMT
Thanks for pointing this out.  My bad for not referring to the NiFi documentation.   When I
saw the Cron Driven and presented with the default "* * * * * ?", my instinct was to reference
a standard Linux/Unix Cron format.


From: Bryan Bende <>
Sent: Thursday, June 16, 2016 10:19 AM
Subject: Re: Scheduling using CRON driven on Windows OS

Also, the user guide has a description of the scheduling strategies which described the cron

On Thu, Jun 16, 2016 at 1:17 PM, Pierre Villard <<>>
Hi Keith,

This is the expected behavior, the first parameter is indeed seconds so that */5 * * * * ?
will generate a FF every 5 seconds.
In your case, I believe you'd like something like 00 02 10 * * ?

Hope this helps.

2016-06-16 19:13 GMT+02:00 Keith Lim <<>>:

My GenerateFlowFile processor is enabled and started


Scheduling Strategy: Cron Driven

Run Schedule : 02 10 * * * ?

This I expects to generate a flow file daily at 10:02 am, but from my limited test, it seems
to take the second parameter as minutes, and generate a flowfile hourly at 10 minutes after
the hour, e.g. 10:10, 11:10, 12:10, 13:10...

Perhaps there is a bug in parsing system date format?

Attached is a simple template that I am using for testing.


From: Andrew Grande <<>>
Sent: Wednesday, June 15, 2016 4:10 PM
Subject: Re: Scheduling using CRON driven on Windows OS


Was your processor running at all times? It has to be started and enabled.

I guess sharing the cron expression and maybe a quick screenshot will help next.


On Wed, Jun 15, 2016, 6:58 PM Keith Lim <<>>
I tried setting Scheduling Strategy property to CRON Driven but does not seem to work.   Sometimes
it would fire when not expected to and others not fire when expected to.
This is on Windows OS and the processor I tried was GenerateFlowFile.  Is CRON Driven setting
not designed to work on Windows OS?


View raw message