It would be a nice addition to the UI to add a textual representation of
the cron expression as a popup after entering or changing the value and
maybe on hover as well.

On Jul 4, 2016 6:27 AM, "Gadiputi, Sravani" <[email protected]>
wrote:

> Thanks Lee, now it is working fine as per our requirement(0 30 20 ? * SAT
> *).
>
> Thanks&Regards,
> Sravani
>
> -----Original Message-----
> From: Lee Laim (leelaim) [mailto:[email protected]]
> Sent: Monday, July 04, 2016 1:29 PM
> To: [email protected]
> Subject: Re: CRON driven scheduling in NiFi
>
>
> Sravani,
>
> I believe the cron scheduling is based on the Quartz scheduler, which
> differs from the UNIX crontab.  A question mark represents no specific
> value for either dayofweek or dayofmonth
>
> 0 30 20 ? * SAT *
> should work for every Saturday 830pm (Saturday regardless of dayofmonth).
>
> Thanks,
>  Lee
>
> [email protected]<mailto:[email protected]>
>
>
>
>
> On Jul 3, 2016, at 11:50 PM, Gadiputi, Sravani <
> [email protected]<mailto:[email protected]>>
> wrote:
> Hi Team,
>
>
> As per my project requirement I have to schedule  the process for every
> Saturday 8.30pm.
> So I have used the CRON driven type scheduling in processor in order to
> repeat the process for every Saturday.
> But its is throwing error while setup the value for “day of the week”.
> As per NiFi documentation below is the instruction should fallow.
>
> 1.       Seconds
>
> 2.       Minutes
>
> 3.       Hours
>
> 4.       Day of Month
>
> 5.       Month
>
> 6.       Day of Week
>
> 7.       Year
> As per instructions, I have given details.
> Example I have tried for scheduling the process for  every Wednesday
> 3:00pm and per every 5 sec.
> So I have given  in  CRON driven schedule     “*/5 * 3 * 6 5 ?”
> It is working fine for “*/5 * 3 * 6 ?”—up to day of the month.
> When I try to particular day of the week it is not working, I mean while
> configuring the values itself its throwing configuration error.
> Error: ”scheduling ‘*/5 * 3 * 6 4 ?’ is not a valid CRON expression”.
>
> I stuck with this and it is more impacting on my development.
>
> Please help me in this.
>
> Thanks in advance!!!
>
>
> Regards,
> Sravani
>
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
>

Reply via email to