Метод |
Описание |
|
addGroupJobs ( array $jobs, array $groups ) |
|
|
checkCachePrefix ( ) : boolean |
Check if the cache prefix from the database matches the cache prefix from the local.xml file |
|
dateDiff ( $time1, $time2 = null ) : integer |
Diff between to times; |
|
decorateStatus ( $status ) : string |
Decorate status values |
|
decorateTime ( string $value, boolean $echoToday = false, string $dateFormat = null ) : string |
Decorate time values |
|
decorateTimeFrameCallBack ( string $value ) : string |
Wrapper for decorateTime to be used a frame_callback to avoid that additional parameters
conflict with the method's optional ones |
|
getCallBack ( $runModel ) : array |
Get callback from runModel |
|
getConfiguredUser ( ) : string | null |
Return the configured cron user |
|
getDbCachePrefix ( ) |
|
|
getGroupsToJobsMap ( $forceRebuild = false ) |
|
|
getLastExecutionTime ( $jobCode ) : boolean |
Get last execution time |
|
getLastHeartbeat ( ) |
Get last heartbeat |
|
getLastRunUser ( ) : string | null |
Get the last user who ran a schedule from core variables |
|
getRunningUser ( ) : string |
Return the current system user running this process |
|
getShouldKillOnWrongUser ( ) : boolean |
Should processes not running the configured user be killed? |
|
getShowUserCronMessage ( ) : boolean |
Should we warn the user if the schedule is being run as the wrong user? |
|
isDisabled ( $jobCode ) : boolean |
Check if job code is disabled in configuration |
|
matchesIncludeExclude ( $jobCode, array $include, array $exclude ) : mixed |
Check if a job matches the group include/exclude lists |
|
runningAsConfiguredUser ( boolean $useRunningUser = true ) : boolean |
Check the configuration value for which user the cron should be run as, and check if it matches the actual user. |
|
sendErrorMail ( Aoe_Scheduler_Model_Schedule $schedule, $error ) : void |
Send error mail |
|
trimExplode ( $delim, string $string, boolean $removeEmptyValues = false ) : array |
Explodes a string and trims all values for whitespace in the ends. |
|
validateCronExpression ( $cronExpression ) : boolean |
Validate cron expression |
|