From cc1b4351781daaf90c997b88140a3c5b2b07a677 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 20 Jun 2011 21:08:47 +0000 Subject: add cron every 2 hours to update dashboard --- modules/dashboard/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/dashboard/manifests/init.pp') diff --git a/modules/dashboard/manifests/init.pp b/modules/dashboard/manifests/init.pp index db62714d..1c89b2f7 100644 --- a/modules/dashboard/manifests/init.pp +++ b/modules/dashboard/manifests/init.pp @@ -49,5 +49,11 @@ class dashboard { apache::vhost_base { "dashboard.$domain": location => $dashboard_wwwdir, } + + cron { "update dashboard": + command => "$dashboard_bindir/make_report", + user => $dashboard_login, + hour => "*/2", + } } } -- cgit v1.2.1