[Koha-bugs] [Bug 29054] Stop warns from advance_notices.pl if not running in verbose mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jan 22 07:27:28 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29054

--- Comment #9 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Marcel de Rooy from comment #7)
> (In reply to Katrin Fischer from comment #5)
> > I agree with only giving this note with -v as at the moment if you have
> > scheduled this on a server with multiple instances where the pref is turned
> > off intentionally, it creates quite a bit of noise.
> > 
> > It's not a fatal one I think, so would fit the description of -v, just
> > referring to a configuration issue.
> 
> I dont oppose pushing it for the sake of multiple instances (where some
> instances would have enhanced messaging and others might not). But
> suppressing a warn that tells you that you are running a script that wouldnt
> do anything, is imo generally not what we should do.

We have other examples of script.

membership_expiry.pl and preference MembershipExpiryDaysNotice:
https://git.koha-community.org/Koha-community/Koha/src/commit/e653effe5783e149f5ab69f388aa5509db454ef4/misc/cronjobs/membership_expiry.pl#L182

Using -v is a very common way to know what a script does ;)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list