summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scire/add_job.php')
-rw-r--r--scire/add_job.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scire/add_job.php b/scire/add_job.php
index 37499ca..140f83d 100644
--- a/scire/add_job.php
+++ b/scire/add_job.php
@@ -39,7 +39,8 @@ if ($_POST['ADD']) {
$scheduleComplete = $_POST["minute1"] and $_POST["hour1"] and
$_POST["day1"] and $_POST["month1"] and $_POST["weekday1"];
if ($scheduleComplete) {
- $str = implode(" ", array($_POST["minute1"], $_POST["hour1"],$_POST["day1"], $_POST["month1"], $_POST["weekday1"]));
+ $str = implode(" ", array($_POST["minute1"], $_POST["hour1"],
+ $_POST["day1"], $_POST["month1"], $_POST["weekday1"]));
} else {
$str = "";
}
@@ -47,7 +48,6 @@ if ($_POST['ADD']) {
$dependency = 1;
try {
- #$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) {