Skip to content

Commit

Permalink
Magento version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Vandamme committed Sep 2, 2015
1 parent 72a83b4 commit e9421f0
Show file tree
Hide file tree
Showing 23 changed files with 1,678 additions and 808 deletions.
7 changes: 5 additions & 2 deletions app/code/community/CoScale/Monitor/Helper/Data.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php

/**
* CoScale module helper
*
* @package CoScale_Monitor
* @author Rian Orie <[email protected]>
* @created 2015-07-03
* @version 1.0
*/
*/
class CoScale_Monitor_Helper_Data extends Mage_Core_Helper_Abstract
{}
{

}
23 changes: 23 additions & 0 deletions app/code/community/CoScale/Monitor/Model/Cronjob.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* Cronjob director to run daily metric data reset/generation
*
* @package CoScale_Monitor
* @author Vladimir Kerkhoff <[email protected]>
* @version 1.0
* @created 2015-08-18
*/

class CoScale_Monitor_Model_Cronjob
{
/**
* Daily cronjob to update daily values
*/

public function dailyCron()
{
// Customer metric data
Mage::getSingleton('coscale_monitor/metric_customer')->dailyCron();
Mage::getSingleton('coscale_monitor/metric_product')->dailyCron();
}
}
Loading

0 comments on commit e9421f0

Please sign in to comment.