From b5201df147d3aba0801a9ab43657ec418e888104 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 20 Jun 2011 19:50:12 +0000 Subject: add script to generate dashboard reports --- modules/dashboard/templates/make_report | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modules/dashboard/templates/make_report (limited to 'modules/dashboard/templates') diff --git a/modules/dashboard/templates/make_report b/modules/dashboard/templates/make_report new file mode 100644 index 00000000..25c2f316 --- /dev/null +++ b/modules/dashboard/templates/make_report @@ -0,0 +1,8 @@ +#!/bin/sh + +dashboard_dir='<%= dashboard_dir %>' +dashboard_wwwdir='<%= dashboard_wwwdir %>' + +cd "$dashboard_dir" +/usr/bin/php ./make_report.php > "$dashboard_wwwdir/index.html" + -- cgit v1.2.1