Also, the user guide has a description of the scheduling strategies which described the cron format:
https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#scheduling-tab On Thu, Jun 16, 2016 at 1:17 PM, Pierre Villard <[email protected] > wrote: > 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 <[email protected]>: > >> My GenerateFlowFile processor is enabled and started >> >> with >> >> >> 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. >> >> >> Thanks, >> Keith >> >> >> ------------------------------ >> *From:* Andrew Grande <[email protected]> >> *Sent:* Wednesday, June 15, 2016 4:10 PM >> *To:* [email protected] >> *Subject:* Re: Scheduling using CRON driven on Windows OS >> >> >> Keith, >> >> 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. >> >> Andrew >> >> On Wed, Jun 15, 2016, 6:58 PM Keith Lim <[email protected]> wrote: >> >>> 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? >>> >>> Thanks, >>> Keith >>> >>> >>> >
