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

-n option does not disable email notification on update #592

Open
1 task done
mkhazov opened this issue Nov 10, 2024 · 0 comments
Open
1 task done

-n option does not disable email notification on update #592

mkhazov opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels

Comments

@mkhazov
Copy link

mkhazov commented Nov 10, 2024

I use -n option in crontab to disable email notifications:

00 4 * * * /usr/local/sbin/update-ngxblocker -n

However, every day I receive an email sent to [email protected]:

Cron <root@myserver> /usr/local/sbin/update-ngxblocker -n

LOCAL Version:  [1m [37m4.2024.11.4862 [0m
Updated: Thu Nov  7 22:01:08 UTC 2024

REMOTE Version:  [1m [37m4.2024.11.4864 [0m
Updated: Fri Nov  8 22:01:20 UTC 2024

Update Available =>  [1m [35m4.2024.11.4864 [0m

 [1m [37mDownloading: globalblacklist.conf ... [1m [32m[OK] [0m

...

Expected behavior

No email notifications after an update.

Server (please complete the following information):

  • Operating System:

  • Ubuntu

  • Specify Exact Version of OS:

Ubuntu 20.04.6 LTS
Linux 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  • Nginx Version [post output of sudo nginx -v]

 nginx/1.24.0

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

No branches or pull requests

2 participants