Koha/misc/cronjobs
Marc Véron df87f507d9 Bug 13889: Add information about cron jobs to system log
This patch adds information about cron jobs performed and make it viewable
under Home > Tools > Logs ("Browse system logs")

To test:

Apply patch
- Got to system preferences and set 'CronjobLog' to:  [Log] information from
  cron jobs.
- Run some cron jobs
- Go to Home > Tools > Logs
- Verify that you have a selection 'Cron jobs' in drop-down 'Module'. Select it
  with Action "All" and Submit.
- Output should show Date/time and info about Cron jobs

Rebased to work on top of Bug 6911 (conflict in viewlog.tt)  /MV

Rebased after applying patch for Bug 6911 /MV
Conflicts resolved:
misc/cronjobs/overdue_notices.pl
misc/cronjobs/cleanup_database.pl

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  - Merge both patches, and fix updatedatabase.pl
  - Works as described. Provide intersting feedback from cronjob scripts.

--
Modified version taking in account syspref CronJobLog. Handling simplified by introducing a convenience sub cronlogaction in C4/Log.pm /MV
Amended to take in account comments #11, #12, #13 /MV

http://bugs.koha-community.org/show_bug.cgi?id=13899

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-05-04 11:11:14 -03:00
..
holds Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
rss Bug 9000: Followup to fix tabs & closing TT directive 2014-07-29 16:25:56 -03:00
social_data Bug 10156 - Fix usr/bin/perl path for get_report_social_data.pl 2013-05-08 09:52:21 -04:00
thirdparty Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
advance_notices.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
automatic_renewals.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
backup.sh Bug 9235 - Hardcoded values in cronjobs/backup.sh 2012-12-21 07:20:50 -05:00
batch_anonymise.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
build_browser_and_cloud.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
cart_to_shelf.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
check-url-quick.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
check-url.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
cleanup_database.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
cloud-kw.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
cloud-sample.conf Fixes bugs #2875-2879 2008-12-29 19:59:44 -06:00
CONFIGURE.gmail Bug 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
create_koc_db.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
crontab.example Bug 11577: Add an automatic renewal cronjob 2014-09-17 19:23:23 -03:00
delete_expired_opac_registrations.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
delete_patrons.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
delete_unverified_opac_registrations.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
fines.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
gather_print_notices.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
import_webservice_batch.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
j2a.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
longoverdue.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
MARC21_parse_test.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
nl-sync-from-koha.pl Bug 11401: QA followup 2014-11-14 09:42:45 -03:00
nl-sync-to-koha.pl Bug 11401: Add support for Norwegian national library card 2014-11-14 09:42:23 -03:00
overdue_notices.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
printoverdues.sh Bug 10127 : Printoverdues.sh should tar only pdf files 2013-07-16 15:47:13 +00:00
process_message_queue.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
purge_suggestions.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
runreport.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
serialsUpdate.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
services_throttle.pl Minor updates to minor cronjob script. 2008-12-31 09:47:54 -06:00
share_usage_with_koha_community.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
staticfines.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
update_totalissues.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00