Свойство | Тип | Описание | |
---|---|---|---|
$crontabExecutable | string | Location of the crontab executable |
Свойство | Тип | Описание | |
---|---|---|---|
$error | string | The error when using the command 'crontab' | |
$output | string | The output when using the command 'crontab' |
Метод | Описание | |
---|---|---|
getCrontabExecutable ( ) : string | Get crontab executable location | |
getError ( ) : string | Get crontab error | |
getOutput ( ) : string | Get crontab output | |
parseExistingCrontab ( |
Parse an existing crontab | |
parseFromFile ( |
Reads cron jobs from a file. | |
setCrontabExecutable ( string $crontabExecutable ) : |
Set unix user to add crontab | |
write ( |
Write the current crons in the cron table | |
writeToFile ( |
Write the current crons to a file. |
Метод | Описание | |
---|---|---|
crontabCommand ( |
Calcuates crontab command | |
parseString ( string $input ) : array | Returns an array of Cron Jobs based on the contents of a file. |
protected crontabCommand ( |
||
$crontab | ||
Результат | string |
public getCrontabExecutable ( ) : string | ||
Результат | string |
public parseExistingCrontab ( |
||
$crontab | ||
Результат |
public parseFromFile ( |
||
$crontab | ||
$filename | string | |
Результат |
protected parseString ( string $input ) : array | ||
$input | string | |
Результат | array | of Variable and Job instances |
public setCrontabExecutable ( string $crontabExecutable ) : |
||
$crontabExecutable | string | |
Результат |
public write ( |
||
$crontab | ||
Результат |
public writeToFile ( |
||
$crontab | ||
$filename | string | |
Результат |
public string $crontabExecutable | ||
Результат | string |
protected string $error | ||
Результат | string |
protected string $output | ||
Результат | string |