commit cc323abd701552107a61ab2845b3742e6f78251f parent ca96e1b58800c48642b95e0b4b6cf7cebd6cda62 Author: Timo A. Hummel <timo@netraver.de> Date: Tue, 7 Jun 2011 15:24:11 +0200 Added statistics cronjob Diffstat:
A | cronjobs/CreateStatisticSnapshot.php | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/cronjobs/CreateStatisticSnapshot.php b/cronjobs/CreateStatisticSnapshot.php @@ -0,0 +1,14 @@ +<?php +namespace de\RaumZeitLabor\PartDB2\Cronjobs; + +declare(encoding = 'UTF-8'); + +include("../src/de/RaumZeitLabor/PartDB2/PartDB2.php"); + +use de\RaumZeitLabor\PartDB2\PartDB2; +use de\RaumZeitLabor\PartDB2\Statistic\StatisticSnapshotManager; +PartDB2::initialize(); + + + +StatisticSnapshotManager::getInstance()->createSnapshot();+ \ No newline at end of file