CacheClear Task
package |
AdvancedShell |
---|---|
subpackage |
Task |
_clearCache()
_clearViews()
_getInterval(string $interval) : string
string
If not null method return this value
string
_getPeriod(\DateTime $Date = null, string $defaultShift = '', string $interval = null) : \DatePeriod
\DateTime
Start date
string
Shift date if $Date is null, for ex. "1 day"
string
Interval, for ex. "1 hour"
\DatePeriod
_getPeriodByDate(\DateTime $Date, string $interval = null) : \DatePeriod
\DateTime
Start date
string
Interval, for ex. "1 hour"
\DatePeriod
_getRange(\DateTime $Date = null, string $defaultShift = '', string $interval = null) : \DatePeriod
\DateTime
Start date
string
Shift date if $Date is null, for ex. "1 day"
string
Interval, for ex. "1 hour"
\DatePeriod
_schedule(string $command, string $path, array $arguments, array $options)
string
string
array
array
_scheduleVars() : array
global |
array $argv |
---|---|
array
_welcome()
execute()
getOptionParser() : \ConsoleOptionParser
\ConsoleOptionParser
getScheduleSplitter() : \ScheduleSplitter
isScheduled() : boolean
boolean
runCommand(string $command, array $argv) : boolean
string
array
boolean
schedule()
setScheduleSplitter(\ScheduleSplitter $Splitter)
sqlDump(boolean $sorted = false, boolean $clear = true)
boolean
Get the queries sorted by time taken, defaults to false.
boolean
If True the existing log will cleared.
startup()
statisticsEnd(string $name)
string
statisticsStart(string $name)
string
name : string
var |
---|
string
action : string
var |
---|
string
_scheduleNextTaskDependsOnPrevious : boolean
First task don't wait anyone
var |
---|
boolean
_ScheduleSplitter : \ScheduleSplitter
tasks : array
var |
---|
array
uses : array
var |
---|
array
_startTime : array
var |
---|
array