Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 18.117.183.104
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
analytics /
core /
Tracker /
[ HOME SHELL ]
Name
Size
Permission
Action
Db
[ DIR ]
drwxr-xr-x
Handler
[ DIR ]
drwxr-xr-x
TableLogAction
[ DIR ]
drwxr-xr-x
Visit
[ DIR ]
drwxr-xr-x
Action.php
12.89
KB
-rw-r--r--
ActionPageview.php
2.58
KB
-rw-r--r--
Cache.php
8.96
KB
-rw-r--r--
Db.php
8.99
KB
-rw-r--r--
Failures.php
7.15
KB
-rw-r--r--
FingerprintSalt.php
2.75
KB
-rw-r--r--
GoalManager.php
35.55
KB
-rw-r--r--
Handler.php
2.86
KB
-rw-r--r--
IgnoreCookie.php
2.49
KB
-rw-r--r--
LogTable.php
4.34
KB
-rw-r--r--
Model.php
16.58
KB
-rw-r--r--
PageUrl.php
14.07
KB
-rw-r--r--
Request.php
30.23
KB
-rw-r--r--
RequestProcessor.php
7.43
KB
-rw-r--r--
RequestSet.php
5.05
KB
-rw-r--r--
Response.php
7.75
KB
-rw-r--r--
ScheduledTasksRunner.php
2.86
KB
-rw-r--r--
Settings.php
6.38
KB
-rw-r--r--
TableLogAction.php
10.8
KB
-rw-r--r--
TrackerCodeGenerator.php
12.37
KB
-rw-r--r--
TrackerConfig.php
1.1
KB
-rw-r--r--
Visit.php
22.62
KB
-rw-r--r--
VisitExcluded.php
12.17
KB
-rw-r--r--
VisitInterface.php
595
B
-rw-r--r--
Visitor.php
2.05
KB
-rw-r--r--
VisitorNotFoundInDb.php
243
B
-rw-r--r--
VisitorRecognizer.php
10.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ScheduledTasksRunner.php
<?php /** * Matomo - free/libre analytics platform * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Tracker; use Piwik\CliMulti; use Piwik\Common; use Piwik\Option; use Piwik\Tracker; class ScheduledTasksRunner { public function shouldRun(Tracker $tracker) { if (Common::isPhpCliMode()) { // don't run scheduled tasks in CLI mode from Tracker, this is the case // where we bulk load logs & don't want to lose time with tasks return false; } return $tracker->shouldRecordStatistics(); } /** * Tracker requests will automatically trigger the Scheduled tasks. * This is useful for users who don't setup the cron, * but still want daily/weekly/monthly PDF reports emailed automatically. * * This is similar to calling the API CoreAdminHome.runScheduledTasks */ public function runScheduledTasks() { $now = time(); // Currently, there are no hourly tasks. When there are some, // this could be too aggressive minimum interval (some hours would be skipped in case of low traffic) $minimumInterval = TrackerConfig::getConfigValue('scheduled_tasks_min_interval'); // If the user disabled browser archiving, they have already setup a cron // To avoid parallel requests triggering the Scheduled Tasks, // Get last time tasks started executing $cache = Cache::getCacheGeneral(); if ($minimumInterval <= 0 || empty($cache['isBrowserTriggerEnabled']) ) { Common::printDebug("-> Scheduled tasks not running in Tracker: Browser archiving is disabled."); return; } $nextRunTime = $cache['lastTrackerCronRun'] + $minimumInterval; if ((defined('DEBUG_FORCE_SCHEDULED_TASKS') && DEBUG_FORCE_SCHEDULED_TASKS) || $cache['lastTrackerCronRun'] === false || $nextRunTime < $now ) { $cache['lastTrackerCronRun'] = $now; Cache::setCacheGeneral($cache); Option::set('lastTrackerCronRun', $cache['lastTrackerCronRun']); Common::printDebug('-> Scheduled Tasks: Starting...'); $invokeScheduledTasksUrl = "?module=API&format=csv&convertToUnicode=0&method=CoreAdminHome.runScheduledTasks&trigger=archivephp"; $cliMulti = new CliMulti(); $cliMulti->runAsSuperUser(); $responses = $cliMulti->request(array($invokeScheduledTasksUrl)); $resultTasks = reset($responses); Common::printDebug($resultTasks); Common::printDebug('Finished Scheduled Tasks.'); } else { Common::printDebug("-> Scheduled tasks not triggered."); } Common::printDebug("Next run will be from: " . date('Y-m-d H:i:s', $nextRunTime) . ' UTC'); } }
Close