From f6119e750327d48c40e5c0a4e20fbefcf0573778 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 4 Oct 2023 13:41:17 +0000 Subject: [PATCH] Bug 28688: (follow-up) Remove redundant options Test plan: Run misc/cronjobs/membership_expiry.pl --help misc/cronjobs/membership_expiry.pl --man Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- misc/cronjobs/membership_expiry.pl | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/misc/cronjobs/membership_expiry.pl b/misc/cronjobs/membership_expiry.pl index 99487a0f63..697572e070 100755 --- a/misc/cronjobs/membership_expiry.pl +++ b/misc/cronjobs/membership_expiry.pl @@ -24,27 +24,11 @@ membership_expiry.pl - cron script to put membership expiry reminders into the m =head1 SYNOPSIS -./membership_expiry.pl -c +./membership_expiry.pl -c [-v] [-n] [-branch CODE] [-before DAYS] [-after DAYS] [-where COND] [-renew] [-letter X] [-letter-renew Y] [-active|-inactive] or, in crontab: -0 1 * * * membership_expiry.pl -c - -Options: - --help brief help message - --man full documentation - --where where clause to add to the query - -v -verbose verbose mode - -n --nomail if supplied, messages will be output to STDOUT and no email or sms will be sent - -c --confirm commit changes to db, no action will be taken unless this switch is included - -b --branch only deal with patrons from this library/branch - --before=X include patrons expiring a number of days BEFORE the date set by the preference - --after=X include patrons expiring a number of days AFTER the date set by the preference - -l --letter use a specific membership expiry notice - --letter_renew use a specific membership renewal notice (needs --renew too) - --active=X only deal with active patrons (active within X months) - --inactive=X only deal with inactive patrons (inactive within X months) - --renew renew patrons and send notice (instead of expiry notice only) +0 1 * * * membership_expiry.pl -c [other options you need as mentioned above] =head1 DESCRIPTION -- 2.39.5