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

Reporters firing even when no jobs run #835

Open
MarcPer opened this issue Jan 6, 2025 · 1 comment
Open

Reporters firing even when no jobs run #835

MarcPer opened this issue Jan 6, 2025 · 1 comment

Comments

@MarcPer
Copy link

MarcPer commented Jan 6, 2025

I saw the shell reporter firing even when there were no changes to the pages I'm monitoring, so I tried disabling all jobs, and it still keeps firing:

$ urlwatch --verbose

2025-01-06 21:35:41,828 cli INFO: turning on verbose logging mode
2025-01-06 21:35:41,833 minidb DEBUG: PRAGMA table_info(CacheEntry)
2025-01-06 21:35:41,834 main INFO: Using .../urls.yaml as URLs file
2025-01-06 21:35:41,834 main INFO: Using .../hooks.py for hooks
2025-01-06 21:35:41,834 main INFO: Using .../cache.db as cache database
2025-01-06 21:35:41,835 main INFO: Found 2 jobs
2025-01-06 21:35:41,836 worker DEBUG: Processing 0 jobs (out of 2)
2025-01-06 21:35:41,836 reporters INFO: Submitting with stdout (<class 'urlwatch.reporters.StdoutReporter'>)
2025-01-06 21:35:41,836 reporters INFO: Submitting with shell (<class 'urlwatch.reporters.ShellReporter'>)

This is the relevant part of my config:

display:
  empty-diff: false
  error: true
  new: true
  unchanged: false
job_defaults:
  all: {}
  browser: {}
  shell: {}
  url: {}
report:
  shell:
    command: ['osascript', '-e', 'display notification "Something happened"']
    enabled: true
    ignore_stderr: false
    ignore_stdout: true

Is this expected behavior or am I missing something?

@MarcPer
Copy link
Author

MarcPer commented Jan 7, 2025

Some additional info:

  • urlwatch version: 2.29
  • MacOS Version: 15.2 (24C101)
  • Python version: 3.13.1
  • urlwatch installed with uv tool install urlwatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant