aboutsummaryrefslogtreecommitdiffstats
path: root/modules/dashboard/templates/make_report
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dashboard/templates/make_report')
-rw-r--r--modules/dashboard/templates/make_report8
1 files changed, 8 insertions, 0 deletions
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"
+