Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scan-services doesn't finish #31

Open
masnagam opened this issue May 5, 2022 · 1 comment
Open

scan-services doesn't finish #31

masnagam opened this issue May 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@masnagam
Copy link
Member

masnagam commented May 5, 2022

log message from mirakc:

mirakc_core::job: update-schedules: acquiring semaphore...
mirakc_core::job: update-schedules: Already running, skip

scan-services got stuck:

$ ps
...
 6582 root     12h57 recpt1 --device /dev/px4video2 13 - -
 6583 root      3h52 mirakc-arib scan-services --sids=23656

config.yml

channels:
  - name: JCOM-TV
    type: GR
    channel: '13'
    services: [23656]
@masnagam masnagam self-assigned this May 5, 2022
@masnagam masnagam added the bug Something isn't working label May 5, 2022
@masnagam
Copy link
Member Author

masnagam commented May 6, 2022

One of the solutions is using the timeout command like below as described in できるmirakc:

jobs:
  scan-services:
    # stop after 30s
    command: >-
      timeout 30 mirakc-arib scan-services
      {{#sids}} --sids={{{.}}}{{/sids}}{{#xsids}} --xsids={{{.}}}{{/xsids}}
    schedule: '0 31 5 * * * *'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant