Workaround for nonexisting developer's crontab (personalized developer env.)
This commit is contained in:
parent
8b484a9df3
commit
69578735e9
|
@ -70,6 +70,7 @@ class Crontab
|
|||
*/
|
||||
function readCrontab()
|
||||
{
|
||||
@exec("echo | crontab -u {$this->user} -", $crons, $return);
|
||||
@exec("crontab -u {$this->user} -l", $crons, $return);
|
||||
if($return != 0){
|
||||
return PEAR::raiseError("*** Can't read crontab ***\n".
|
||||
|
|
Loading…
Reference in New Issue