Bugzilla – Attachment 115363 Details for
Bug 11344
Perldoc issues in misc/cronjobs/advance_notices.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11344: Perldoc issues in misc/cronjobs/advance_notices.pl
Bug-11344-Perldoc-issues-in-misccronjobsadvancenot.patch (text/plain), 2.06 KB, created by
James O'Keeffe
on 2021-01-19 21:24:30 UTC
(
hide
)
Description:
Bug 11344: Perldoc issues in misc/cronjobs/advance_notices.pl
Filename:
MIME Type:
Creator:
James O'Keeffe
Created:
2021-01-19 21:24:30 UTC
Size:
2.06 KB
patch
obsolete
>From b6d111ace590f28f60f0b02cdba7f60a5592aa3b Mon Sep 17 00:00:00 2001 >From: James O'Keeffe <jamespfk@gmail.com> >Date: Tue, 19 Jan 2021 21:16:49 +0000 >Subject: [PATCH] Bug 11344: Perldoc issues in misc/cronjobs/advance_notices.pl > >This patch removes the double ups in the perldoc of the above file, > deleting the less clear double ups. The missing "-c" in OPTIONS > appears to have been fixed in an earlier patch (it is there > already). > >Task Plan: >1. Run perldoc misc/cronjobs/advance_notices.pl in the terminal. Note >the double ups of NAME, SYNOPSIS, and DESCRIPTION >2. Apply the patch >3. Run the command again. The double ups should be gone, with the more >clear version of each of NAME, SYNOPSIS, and DESCRIPTION remaining. >--- > misc/cronjobs/advance_notices.pl | 22 +++------------------- > 1 file changed, 3 insertions(+), 19 deletions(-) > >diff --git a/misc/cronjobs/advance_notices.pl b/misc/cronjobs/advance_notices.pl >index fb65cd4343..9250e6f303 100755 >--- a/misc/cronjobs/advance_notices.pl >+++ b/misc/cronjobs/advance_notices.pl >@@ -19,14 +19,11 @@ > > =head1 NAME > >-advance_notices.pl - cron script to put item due reminders into message queue >+advance_notices.pl - prepare messages to be sent to patrons for nearly due, or due, items > > =head1 SYNOPSIS >- >-./advance_notices.pl -c >- >-or, in crontab: >-0 1 * * * advance_notices.pl -c >+ advance_notices.pl >+ [ -n ][ -m <number of days> ][ --itemscontent <comma separated field list> ][ -c ] > > =head1 DESCRIPTION > >@@ -62,15 +59,6 @@ use Koha::Items; > use Koha::Libraries; > use Koha::Patrons; > >-=head1 NAME >- >-advance_notices.pl - prepare messages to be sent to patrons for nearly due, or due, items >- >-=head1 SYNOPSIS >- >-advance_notices.pl >- [ -n ][ -m <number of days> ][ --itemscontent <comma separated field list> ][ -c ] >- > =head1 OPTIONS > > =over 8 >@@ -139,10 +127,6 @@ Defaults to 'item-issuebranch' > > =back > >-=head1 DESCRIPTION >- >-This script is designed to alert patrons when items are due, or coming due >- > =head2 Configuration > > This script pays attention to the advanced notice configuration >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11344
:
115363
|
115586
|
115667
|
115668