1.6.5 daily script

Hi, it appears that 1.6.5 on debian installed a new maintenance script. When there is nothing to do, this script’s output is:

“Nothing to do, the hub index is up to date.”

This leads to an e-mail every day telling me that nothing was done… Could I suggest to tweak the script so that it only creates output when there is actually something the admin needs to know?

My very much not sophisticated quick fix was to add a grep:

/usr/bin/cscli --error hub update | grep -v “up to date”

But I’m sure this can be handled much better.

Thanks!

will be fixed next release: silence "cscli hub update" if noop in cron jobs by mmetc · Pull Request #3460 · crowdsecurity/crowdsec · GitHub

Cool, that’s great. I checked the commit, and it focusses on the particular message I experienced yesterday. Now, today my machines greeted me with mails from crowdsec’s cron containing (only) the following:

Downloading */etc/crowdsec/hub/*.index.json

Will this be “fixed” (not really a bug, but nothing I guess I need to act upon, either) as well?