You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by KhajaAsmath Mohammed <md...@gmail.com> on 2020/01/14 00:05:32 UTC
CRON issue in NIFI
Hi,
I am trying to schedule job in NIFI through CRON and it never triggers.
Tried all possible options and it never worked. does the time showing on
the UI is the time that is set to? should we use same format?
[image: image.png]
Thanks,
Asmath
Re: CRON issue in NIFI
Posted by Joe Ferner <jo...@gmail.com>.
Might want to confirm that the system clock the NIFI node is running on is
set to PST. You need to define the cron based on the system clock timezone,
not your client clock.
On Wed, Jan 29, 2020 at 2:11 PM KhajaAsmath Mohammed <
mdkhajaasmath@gmail.com> wrote:
> I have used the below expression to match PST and it didn't run. I am not
> sure what is making wrong.
> 0 10 11 ? * *
>
> Thanks,
> Asmath
>
> On Mon, Jan 13, 2020 at 8:20 PM Boris Tyukin <bo...@boristyukin.com>
> wrote:
>
>> note this is quartz cron syntax which is different from standard cron.
>> This is a handy quartz cron calculator
>>
>> https://www.freeformatter.com/cron-expression-generator-quartz.html
>>
>> On Mon, Jan 13, 2020 at 7:25 PM Shawn Weeks <sw...@weeksconsulting.us>
>> wrote:
>>
>>> I usually use one of the cron calculators online as it can be tricky.
>>> Try this one as it should run every minute or so.
>>>
>>> https://crontab.guru/#1-59_*_*_*_*
>>>
>>> Sent from my iPhone
>>>
>>> On Jan 13, 2020, at 6:06 PM, KhajaAsmath Mohammed <
>>> mdkhajaasmath@gmail.com> wrote:
>>>
>>>
>>> Hi,
>>>
>>> I am trying to schedule job in NIFI through CRON and it never triggers.
>>> Tried all possible options and it never worked. does the time showing on
>>> the UI is the time that is set to? should we use same format?
>>>
>>> <image.png>
>>>
>>>
>>> Thanks,
>>> Asmath
>>>
>>>
Re: CRON issue in NIFI
Posted by KhajaAsmath Mohammed <md...@gmail.com>.
I have used the below expression to match PST and it didn't run. I am not
sure what is making wrong.
0 10 11 ? * *
Thanks,
Asmath
On Mon, Jan 13, 2020 at 8:20 PM Boris Tyukin <bo...@boristyukin.com> wrote:
> note this is quartz cron syntax which is different from standard cron.
> This is a handy quartz cron calculator
>
> https://www.freeformatter.com/cron-expression-generator-quartz.html
>
> On Mon, Jan 13, 2020 at 7:25 PM Shawn Weeks <sw...@weeksconsulting.us>
> wrote:
>
>> I usually use one of the cron calculators online as it can be tricky. Try
>> this one as it should run every minute or so.
>>
>> https://crontab.guru/#1-59_*_*_*_*
>>
>> Sent from my iPhone
>>
>> On Jan 13, 2020, at 6:06 PM, KhajaAsmath Mohammed <
>> mdkhajaasmath@gmail.com> wrote:
>>
>>
>> Hi,
>>
>> I am trying to schedule job in NIFI through CRON and it never triggers.
>> Tried all possible options and it never worked. does the time showing on
>> the UI is the time that is set to? should we use same format?
>>
>> <image.png>
>>
>>
>> Thanks,
>> Asmath
>>
>>
Re: CRON issue in NIFI
Posted by Boris Tyukin <bo...@boristyukin.com>.
note this is quartz cron syntax which is different from standard cron. This
is a handy quartz cron calculator
https://www.freeformatter.com/cron-expression-generator-quartz.html
On Mon, Jan 13, 2020 at 7:25 PM Shawn Weeks <sw...@weeksconsulting.us>
wrote:
> I usually use one of the cron calculators online as it can be tricky. Try
> this one as it should run every minute or so.
>
> https://crontab.guru/#1-59_*_*_*_*
>
> Sent from my iPhone
>
> On Jan 13, 2020, at 6:06 PM, KhajaAsmath Mohammed <md...@gmail.com>
> wrote:
>
>
> Hi,
>
> I am trying to schedule job in NIFI through CRON and it never triggers.
> Tried all possible options and it never worked. does the time showing on
> the UI is the time that is set to? should we use same format?
>
> <image.png>
>
>
> Thanks,
> Asmath
>
>
Re: CRON issue in NIFI
Posted by Shawn Weeks <sw...@weeksconsulting.us>.
I usually use one of the cron calculators online as it can be tricky. Try this one as it should run every minute or so.
https://crontab.guru/#1-59_*_*_*_*
Sent from my iPhone
On Jan 13, 2020, at 6:06 PM, KhajaAsmath Mohammed <md...@gmail.com> wrote:
Hi,
I am trying to schedule job in NIFI through CRON and it never triggers. Tried all possible options and it never worked. does the time showing on the UI is the time that is set to? should we use same format?
<image.png>
Thanks,
Asmath