I believe that NiFi uses the Quartz cron syntax, which is described here:
http://quartz-scheduler.org/api/2.2.0/org/quartz/CronExpression.html

As for why, I believe it is because NiFi uses the Quartz java library to
schedule processes, so it kept with Quartz syntax rather than translating
it. I'm not sure why Quartz uses 6 instead of 5. Probably for more
precision so that you can schedule down to the second if you want to.

Alan

On Wed, Sep 9, 2015 at 1:00 PM, John Titus <[email protected]>
wrote:

> Just curious - why does the NiFi cron syntax differ from crontab syntax,
> in that there is a "seconds" field in NiFi cron that I don't think crontab
> uses? It always throws me that there's an extra field there.
>

Reply via email to