Iyán,
Is there an error or session rollback in the log file?
You can view issues here:
https://issues.apache.org/jira/projects/MINIFICPP/issues
Thanks,
Marc
On Sun, Apr 22, 2018 at 4:05 PM, Iyán Méndez Veiga <[email protected]> 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
>
> - 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ı.♫♪