public function cacheDataByArchiveNameReports()
    {
        $api = API::getInstance();
        $api->getIndividualReportsSummary(true);
        $api->getIndividualMetricsSummary(true);

        $now = Date::now()->getLocalized(Date::DATE_FORMAT_SHORT);
        Option::set(DBStats::TIME_OF_LAST_TASK_RUN_OPTION, $now);
    }
public function cacheDataByArchiveNameReports()
    {
        $api = API::getInstance();
        $api->getIndividualReportsSummary(true);
        $api->getIndividualMetricsSummary(true);

        $now = Date::now()->getLocalized(Date::DATE_FORMAT_SHORT);
        Option::set(DBStats::TIME_OF_LAST_TASK_RUN_OPTION, $now);
    }
public function cacheDataByArchiveNameReports ( ) { $ api = API :: getInstance ( ) ; $ api -> getIndividualReportsSummary ( true ) ; $ api -> getIndividualMetricsSummary ( true ) ; $ now = Date :: now ( ) -> getLocalized ( Date :: DATE_FORMAT_SHORT ) ; Option :: set ( DBStats :: TIME_OF_LAST_TASK_RUN_OPTION , $ now ) ; }
Caches the intermediate DataTables used in the getIndividualReportsSummary and
getIndividualMetricsSummary reports in the option table.
Caches the intermediate DataTables used in the getIndividualReportsSummary and getIndividualMetricsSummary reports in the option table .