Koha-clms/misc/cronjobs
Magnus Enger a3f097958c
Bug 21322: process_message_queue.pl --type should take an argument
The help for this script says:
-t --type: If supplied, only processes this type of message ( email, sms )

Currently, the type argument is set up wrong, so it does not look
for an argument. This patch fixes that.

To test, run this command (should work in kohadevbox) or something
similar:

$ sudo koha-shell -c "perl \
/home/vagrant/kohaclone/misc/cronjobs/process_message_queue.pl -v \
--type=sms" kohadev

This should give the following error: "Option type does not take an argument".
Apply the patch and run the same command again. This should not give an
error.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit d74a05d4fe)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2018-10-08 09:49:54 +01:00
..
holds Bug 16187: accept --verbose and -h 2017-10-20 16:51:25 -03:00
rss
…
social_data
…
thirdparty Bug 16568 - Talking Tech generates phone notifications for all overdue actions 2017-05-19 10:26:11 -04:00
CONFIGURE.gmail
…
advance_notices.pl Bug 17969: Refactor the way <<items.content>> is generated 2017-08-30 15:06:25 -03:00
automatic_item_modification_by_age.pl Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
automatic_renewals.pl Bug 19444: Do not auto renew if patron is expired and BlockExpiredPatronOpacActions is set 2017-12-18 12:16:26 -03:00
backup.sh
…
batch_anonymise.pl Bug 16966: move parameters to hashref 2017-03-03 17:20:05 +00:00
build_browser_and_cloud.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
cart_to_shelf.pl
…
check-url-quick.pl Bug 21122: Fix check-url-quick when utf8 characters in URL's 2018-08-03 15:21:35 +01:00
check-url.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
cleanup_database.pl Bug 20402: only output if verbose flag is set 2018-05-09 12:47:43 -03:00
cloud-kw.pl
…
cloud-sample.conf
…
create_koc_db.pl
…
crontab.example Bug 21235: Remove table services_throttle 2018-09-11 09:41:10 +01:00
delete_expired_opac_registrations.pl Bug 16907: Koha::Patrons - Move DelMember to ->delete 2016-10-21 16:20:41 +00:00
delete_items.pl Bug 14504: (followup) Make deletion conditional on --commit 2016-08-26 12:07:27 +00:00
delete_patrons.pl Bug 19933: Remove patronflags - easy ones 2018-03-23 11:45:38 -03:00
delete_records_via_leader.pl Bug 19712: (follow-up) Add missing use Pod::Usage 2018-04-06 14:50:58 -03:00
delete_unverified_opac_registrations.pl Bug 16907: Koha::Patrons - Move DelMember to ->delete 2016-10-21 16:20:41 +00:00
edi_cron.pl Bug 17141: Call config method to retrieve logdir 2016-09-02 15:49:12 +00:00
fines.pl Bug 19750: Overdues without a fine rule add warnings to log 2018-02-02 12:08:34 -03:00
gather_print_notices.pl
…
import_webservice_batch.pl
…
j2a.pl
…
longoverdue.pl Bug 19974: Make MarkLostItemsAsReturned multiple 2018-04-20 11:57:31 -03:00
membership_expiry.pl Bug 17762: Send lang to GetPreparedLetter 2017-05-09 20:56:41 +00:00
merge_authorities.pl Bug 9988: Refactor the cron script 2017-04-13 08:53:47 -04:00
nl-sync-from-koha.pl
…
nl-sync-to-koha.pl
…
notice_unprocessed_suggestions.pl Bug 19304: Move C4::Members::GetNoticeEmailAddress to Koha::Patron->notice_email_address 2018-01-02 11:46:40 -03:00
overdue_notices.pl Bug 19304: Move C4::Members::GetNoticeEmailAddress to Koha::Patron->notice_email_address 2018-01-02 11:46:40 -03:00
printoverdues.sh
…
process_message_queue.pl Bug 21322: process_message_queue.pl --type should take an argument 2018-10-08 09:49:54 +01:00
purge_suggestions.pl Bug 13287: Remove warning if --days is not passed and pref empty 2018-02-26 13:24:46 -03:00
remove_temporary_edifiles.pl Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00
runreport.pl Bug 21035: Handle new lines when running reports 2018-08-10 08:47:53 +01:00
serialsUpdate.pl
…
share_usage_with_koha_community.pl Bug 18066: Hea V2 2017-03-23 00:10:46 +00:00
sitemap.pl Bug 16751: What is sitemaper? 2016-06-24 13:19:06 +00:00
staticfines.pl
…
update_totalissues.pl
…