diff --git a/crontab.php b/crontab.php index 5973602..39e6afe 100644 --- a/crontab.php +++ b/crontab.php @@ -189,7 +189,7 @@ function activate($includeOldJobs = true) { * @return string */ function listJobs() { - return exec($this->crontab.' -l;'); + return shell_exec($this->crontab.' -l;'); } }