I wanted to follow up and say that timer driven and event driven are the
only scheduling strategies available in minifi c++. Cron is not a supported
strategy yet. Sorry for not mentioning this earlier

On Sun, Apr 22, 2018, 4:05 PM Iyán Méndez Veiga <m...@iyanmv.com> wrote:

> Hi,
>
> I haven't been able to configure MiNiFi to take pictures every 30 seconds
> using GetUSBCamera processor. I have the following in the config.yml
>
>   - name: take_picture
>     class: GetUSBCamera
>     max concurrent tasks: 1
>     scheduling strategy: TIMER_DRIVEN
>     scheduling period: 30 sec
>     auto-terminated relationships list:
>       - failure
>     Properties:
>       FPS: 1
>       Format: PNG
>       USB Vendor ID: 0x046d
>       USB Product ID: 0x082d
>
> The processor ignores the scheduling period and it takes pictures
> continuously. I tried to use the CRON_DRIVEN but any processor seems to
> work.
> Perhaps is that I didn't understand how to use it reading this:
> http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/
> crontrigger.html
> <http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html>
>
>   - name: take_picture
>     class: GetUSBCamera
>     max concurrent tasks: 1
>     scheduling strategy: CRON_DRIVEN
>     scheduling period: 0/30 * * * * *
>     auto-terminated relationships list:
>       - failure
>     Properties:
>       FPS: 1
>       Format: PNG
>       USB Vendor ID: 0x046d
>       USB Product ID: 0x082d
>
> Hope anyone can help me. By the way, is there any place to check current
> open/
> known issues and bugs?
>
> Thanks,
> Iyán
>
> --
> Iyán Méndez Veiga | Physicist
> GPG: 0x422E3694311E5AC1
> Web: https://iyanmv.com
>
> ♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪

Reply via email to