Workaround for nonexisting developer's crontab (personalized developer env.)

This commit is contained in:
tomash 2006-11-30 04:52:14 +00:00
parent 8b484a9df3
commit 69578735e9
1 changed files with 1 additions and 0 deletions

View File

@ -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".