Koha/debian
Holger Meißner d02f87a298 Bug 11577: Add an automatic renewal cronjob
This patch adds a new cron script automatic_renewals.pl and a new
entry in crontab.example.

To test:

1) You need a few issues, some with automatic renewal and some without.
2) Confirm that each time you run misc/cronjobs/automatic_renewals.pl
   those issues are renewed that meet all of the following criteria:
   - automatic renewal has been scheduled either by issuing rule or by
     checkbox on the checkout page
   - the number of allowed renewals isn't exceeded
   - renewal isn't premature (No renewal before)
3) Confirm that all other issues are not affected.

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-09-17 19:23:23 -03:00
..
docs Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
scripts Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
source
templates Bug 12350 - disable apache indexes 2014-06-23 15:14:42 -03:00
bd-to-depends
build-git-snapshot Bug 12869 - update the version in build-git-snapshot 2014-09-05 10:14:14 -03:00
changelog Bug 12234 - changelog updates from 3.14 series 2014-05-13 14:10:18 +00:00
compat
control Bug 12870 - require a higher version of Test::Simple 2014-09-15 10:52:43 -03:00
control.in Bug 12870 - require a higher version of Test::Simple 2014-09-15 10:52:43 -03:00
copyright
koha-common.bash-completion Bug 10003: bash-completion for koha-list and other scripts 2014-05-05 16:03:00 +00:00
koha-common.config Bug 11404: (follow-up) only ask user if there are instances needing upgrading 2014-05-19 21:51:33 +00:00
koha-common.cron.d Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.cron.daily Bug 11577: Add an automatic renewal cronjob 2014-09-17 19:23:23 -03:00
koha-common.cron.hourly
koha-common.default Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.dirs
koha-common.docs Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.init Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.install Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.logrotate
koha-common.postinst Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
koha-common.README.Debian
koha-common.templates Bug 11404: Make the install process aware of the changes 2014-05-19 21:50:54 +00:00
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 12393 - Depend on SSL module for LWP, for OverDrive 2014-06-22 20:35:46 -03:00
README.build
rules Bug 10003: bash-completion for koha-list and other scripts 2014-05-05 16:03:00 +00:00
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.