diff options
Diffstat (limited to 'admin/WebConsole/includes/restfunctions.php')
-rw-r--r-- | admin/WebConsole/includes/restfunctions.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php index 6abe56e0..b1355e36 100644 --- a/admin/WebConsole/includes/restfunctions.php +++ b/admin/WebConsole/includes/restfunctions.php @@ -76,8 +76,10 @@ define('OG_REST_PARAM_AM_PM', 'am_pm'); define('OG_REST_PARAM_MINUTES', 'minutes'); define('TYPE_COMMAND', 1); +define('TYPE_PROCEDURE', 2); define('TYPE_TASK', 3); define('OG_SCHEDULE_COMMAND', 'command'); +define('OG_SCHEDULE_PROCEDURE', 'procedure'); define('OG_SCHEDULE_TASK', 'task'); $conf_file = parse_ini_file(__DIR__ . '/../../etc/ogAdmServer.cfg'); @@ -586,6 +588,9 @@ function create_schedule($task_id, $type, $name, $years, $months, $weeks, case TYPE_COMMAND: $type_string = OG_SCHEDULE_COMMAND; break; + case TYPE_PROCEDURE: + $type_string = OG_SCHEDULE_PROCEDURE; + break; case TYPE_TASK: default: $type_string = OG_SCHEDULE_TASK; |