Method | Description | |
---|---|---|
checkAndRunTasks ( array $tasks ) | Runs active tasks if current time matches with time expression | |
getRunDates ( string $time, integer $count = 10 ) : array | Returns next run dates for time expression | |
parseAndRunCommand ( string $command ) : mixed | Parses given command, creates new class object and calls its method via call_user_func_array | |
runTask ( mult1mate\crontab\TaskInterface $task ) : string | Runs task and returns output |
public static checkAndRunTasks ( array $tasks ) | ||
$tasks | array |
public static parseAndRunCommand ( string $command ) : mixed | ||
$command | string | |
return | mixed |