CronHandler
    
            
            in package
            
        
    
    
    
        
            Class to execute task.
Table of Contents
- $cronTask : Cron
- $logs : string
- __construct() : mixed
- Construct.
- checkTimeout() : bool
- Check cron task timeout.
- getTaskLog() : string
- Get cron task logs.
- process() : void
- Main function to execute task.
- updateLastActionTime() : void
- Update cron task last action time.
Properties
$cronTask
    protected
        Cron
    $cronTask
    
    
        Cron task instance.
$logs
    protected
        string
    $logs
     = ''
    
        Cron task logs.
Methods
__construct()
Construct.
    public
                    __construct(Cron $cronTask) : mixed
    
        Parameters
- $cronTask : Cron
Return values
mixed —checkTimeout()
Check cron task timeout.
    public
                    checkTimeout() : bool
    
    
    
        Return values
bool —getTaskLog()
Get cron task logs.
    public
                    getTaskLog() : string
    
    
    
        Return values
string —process()
Main function to execute task.
    public
    abstract                process() : void
    
    
    
        Return values
void —updateLastActionTime()
Update cron task last action time.
    public
                    updateLastActionTime() : void