]> git.koha-community.org Git - koha.git/commit
Bug 6810: [QA Follow-up] Exit cronjob if pref not set
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 18 Sep 2015 11:22:42 +0000 (13:22 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Oct 2015 14:13:58 +0000 (11:13 -0300)
commit507f84f23363746aa9d5912dcb4101e8dad97668
treee48dbaa482d4e983564a9a24324a932cc2a0e326
parentc69203d0ad7bd0c98c8ff46048c07a1986ef9332
Bug 6810: [QA Follow-up] Exit cronjob if pref not set

As per suggestion of Robin on report 14840, it would be better to always
run the cronjob and only do something when the pref is set.
This patch adds a test in the cronjob and clears the former default of 14
days.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Removed the pref and ran the dbrev again: Fine.
Run the cronjob with -c -v -n: Prints exit warning.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_6810-add_MembershipExpiryDaysNotice_syspref.sql
installer/data/mysql/sysprefs.sql
misc/cronjobs/membership_expiry.pl