You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "huipanc@163.com" <hu...@163.com> on 2017/07/12 07:58:43 UTC
Any possibility to run ExecuteProcess like crontab
Hi All,
Now I want to use nifi to finish my crontab task like below:
# min hour day mon weekday(0=Sunday) command
10 * * * * /home/razor/razor-mr/job/job_hourly.sh `date +\%Y\%m\%d\%H`
That means I want to use nifi to run ExecuteProcess when the minute is 10,eg 15:10,16:10,17:10. Does nifi support this operation. Now I can only run ExecuteProcess every 60 min by setting Batch Duration like below: Meanwhile,Does nifi support monitor every flow status when running.
Thanks, Hollis
Re: Re: Any possibility to run ExecuteProcess like crontab
Posted by Andrew Psaltis <ps...@gmail.com>.
Hi Hollis,
Your welcome. Please don't hesitate to ask us any other questions if you
get stuck or need help.
Take care,
Andrew
On Thu, Jul 13, 2017 at 02:03 huipanc@163.com <hu...@163.com> wrote:
> hi Andrew,
> Thank you very much. It works.
>
> ------------------------------
>
> Thanks,
>
> Hollis
>
>
> *From:* Andrew Psaltis <ps...@gmail.com>
> *Date:* 2017-07-12 19:29
> *To:* users <us...@nifi.apache.org>
> *Subject:* Re: Any possibility to run ExecuteProcess like crontab
>
> Hollis,
> You should be able to accomplish what you want by using the Cron
> scheduling under the scheduling tab as depicted below:
>
> [image: Inline image 1]
>
> Does that not do what you need?
>
>
> Thanks,
> Andrew
>
> On Wed, Jul 12, 2017 at 3:58 AM, huipanc@163.com <hu...@163.com> wrote:
>
>> Hi All,
>> Now I want to use nifi to finish my crontab task like below:
>>
>> # min hour day mon weekday(0=Sunday) command
>>
>> 10 * * * * /home/razor/razor-mr/job/job_hourly.sh `date +\%Y\%m\%d\%H`
>>
>>
>>
>> That means I want to use nifi to run ExecuteProcess when the minute is 10,eg 15:10,16:10,17:10.
>>
>> Does nifi support this operation. Now I can only run ExecuteProcess every 60 min by setting Batch Duration like below:
>>
>> Meanwhile,Does nifi support monitor every flow status when running.
>>
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Hollis
>>
>>
>
>
> --
Thanks,
Andrew
Subscribe to my book: Streaming Data <http://manning.com/psaltis>
<https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>
Re: Re: Any possibility to run ExecuteProcess like crontab
Posted by "huipanc@163.com" <hu...@163.com>.
hi Andrew,
Thank you very much. It works.
Thanks, Hollis
From: Andrew Psaltis
Date: 2017-07-12 19:29
To: users
Subject: Re: Any possibility to run ExecuteProcess like crontab
Hollis,
You should be able to accomplish what you want by using the Cron scheduling under the scheduling tab as depicted below:
Does that not do what you need?
Thanks,
Andrew
On Wed, Jul 12, 2017 at 3:58 AM, huipanc@163.com <hu...@163.com> wrote:
Hi All,
Now I want to use nifi to finish my crontab task like below:
# min hour day mon weekday(0=Sunday) command
10 * * * * /home/razor/razor-mr/job/job_hourly.sh `date +\%Y\%m\%d\%H`
That means I want to use nifi to run ExecuteProcess when the minute is 10,eg 15:10,16:10,17:10. Does nifi support this operation. Now I can only run ExecuteProcess every 60 min by setting Batch Duration like below: Meanwhile,Does nifi support monitor every flow status when running.
Thanks, Hollis
Re: Any possibility to run ExecuteProcess like crontab
Posted by Andrew Psaltis <ps...@gmail.com>.
Hollis,
You should be able to accomplish what you want by using the Cron scheduling
under the scheduling tab as depicted below:
[image: Inline image 1]
Does that not do what you need?
Thanks,
Andrew
On Wed, Jul 12, 2017 at 3:58 AM, huipanc@163.com <hu...@163.com> wrote:
> Hi All,
> Now I want to use nifi to finish my crontab task like below:
>
> # min hour day mon weekday(0=Sunday) command
>
> 10 * * * * /home/razor/razor-mr/job/job_hourly.sh `date +\%Y\%m\%d\%H`
>
>
>
> That means I want to use nifi to run ExecuteProcess when the minute is 10,eg 15:10,16:10,17:10.
>
> Does nifi support this operation. Now I can only run ExecuteProcess every 60 min by setting Batch Duration like below:
>
> Meanwhile,Does nifi support monitor every flow status when running.
>
>
>
>
>
>
> Thanks,
>
> Hollis
>
>