jmontoya
2010-09-02 0ab659dcd15abb4848983aeaf8cf02d8b00b26ed
server/plugins-available/cron_plugin.inc.php
@@ -133,7 +133,7 @@
         exec("setquota -T -u $username 604800 604800 -a &> /dev/null");
      }
      
      // make temp direcory writable for the apache user and the website user
      // make temp directory writable for the apache and website users
      exec("chmod 777 ".escapeshellcmd($parent_domain["document_root"]."/tmp"));
      
        /** TODO READ CRON MASTER **/
@@ -199,7 +199,7 @@
                    }
                    
                    $command .= "\t";
                    if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'];
                    if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
                    $command .= $job['command'];
                }
                
@@ -236,4 +236,4 @@
} // end class
?>
?>