summaryrefslogtreecommitdiff
path: root/scire
diff options
context:
space:
mode:
authorPreston Cody <codeman@gentoo.org>2007-07-22 22:05:56 +0000
committerPreston Cody <codeman@gentoo.org>2007-07-22 22:05:56 +0000
commitedd2be9d5e5f7565adc1a29d474053a047d27bc9 (patch)
tree5a593e9a9cbaff7b78c39227f291e03eec8d31af /scire
parentadd the statuses as a var for the template to use. (diff)
downloadscire-edd2be9d5e5f7565adc1a29d474053a047d27bc9.tar.gz
scire-edd2be9d5e5f7565adc1a29d474053a047d27bc9.tar.bz2
scire-edd2be9d5e5f7565adc1a29d474053a047d27bc9.zip
commented out the parser for the time being so the job will commit.
rlazo, feel free to uncomment for your use. added exception. svn path=/; revision=242
Diffstat (limited to 'scire')
-rw-r--r--scire/add_job.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scire/add_job.php b/scire/add_job.php
index afc9494..49b543f 100644
--- a/scire/add_job.php
+++ b/scire/add_job.php
@@ -47,7 +47,7 @@ if ($_POST['ADD']) {
$dependency = 1;
try {
- $cron = new CronParser($str);
+ #$cron = new CronParser($str);
$result = scire_add_job($_POST['script'], $priority, $_SESSION['userid'], $permission, $description, $pending, $_POST['clients'], $_POST['clientgroups'], $dependency, $str, $_POST['validity_period']);
if (!$result) {
@@ -55,7 +55,7 @@ if ($_POST['ADD']) {
} else {
$status .= "Error occurred during job addition. $result";
}
- } catch (CronException $e) {}
+ } catch (CronException $e) { print_r($e); }
}
}
@@ -108,5 +108,5 @@ $smarty->assign('leftbar_menu', $leftbar_menu);
$smarty->assign('Action', $_GET['Action']);
$smarty->assign('status', $status);
$smarty->display('add_job.tpl');
-#pre_var_dump($_POST);
+var_dump($clients);
?>