From 01c24273914727efd43343b929ab8d84c5eb2960 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 21 Mar 2013 19:01:06 +0100 Subject: [PATCH] accounting install fix --- etc/cron.jobs.in | 3 +++ util/Makefile.in | 1 + 2 files changed, 4 insertions(+) diff --git a/etc/cron.jobs.in b/etc/cron.jobs.in index 194b391e..e35b6c95 100644 --- a/etc/cron.jobs.in +++ b/etc/cron.jobs.in @@ -24,6 +24,9 @@ piler's crontab: ### optional: the same report you can see on the health page 30 7 * * * /usr/local/libexec/piler/daily-report.php /srv/www/webui.yourdomain.com +### optional: populate accouting data +30 6 * * * /usr/local/libexec/piler/generate_stats.php /srv/www/webui.yourdomain.com + ### optional: regular AD sync 0 8 * * * /usr/bin/php LIBEXECDIR/piler/ldap_sync.php /srv/www/webui.yourdomain.com > LOCALSTATEDIR/piler/stat/adsync.stat diff --git a/util/Makefile.in b/util/Makefile.in index 7fd975f1..88b4e7ae 100644 --- a/util/Makefile.in +++ b/util/Makefile.in @@ -30,6 +30,7 @@ install: $(INSTALL) -m 0755 $(srcdir)/ldap_sync.php $(DESTDIR)$(libexecdir)/piler $(INSTALL) -m 0755 $(srcdir)/daily-report.php $(DESTDIR)$(libexecdir)/piler $(INSTALL) -m 0755 $(srcdir)/gmail-imap-import.php $(DESTDIR)$(libexecdir)/piler + $(INSTALL) -m 0755 $(srcdir)/generate_stats.php $(DESTDIR)$(libexecdir)/piler clean: