Skip to main content
Pentaho Documentation

jobScheduleRequest

Overview

Creates a new blockout for scheduled jobs.

Overview

Creates a new blockout for scheduled jobs.

jobScheduleRequest element

Type: jobScheduleRequest

Example XML

<?xml version="1.0" encoding="UTF-8"?>
<jobScheduleRequest>
  <inputFile>...</inputFile>
  <outputFile>...</outputFile>
  <cronJobTrigger>
    <cronString>...</cronString>
    <cronString>...</cronString>
    <endTime>...</endTime>
    <startTime>...</startTime>
    <uiPassParam>...</uiPassParam>
    <duration>...</duration>
  </cronJobTrigger>
  <complexJobTrigger>
    <startTime>...</startTime>
    <endTime>...</endTime>
    <daysOfWeek>...</daysOfWeek>
    <daysOfWeek>...</daysOfWeek>
    <!--...more "daysOfWeek" elements...-->
    <daysOfMonth>...</daysOfMonth>
    <daysOfMonth>...</daysOfMonth>
    <!--...more "daysOfMonth" elements...-->
    <weeksOfMonth>...</weeksOfMonth>
    <weeksOfMonth>...</weeksOfMonth>
    <!--...more "weeksOfMonth" elements...-->
    <monthsOfYear>...</monthsOfYear>
    <monthsOfYear>...</monthsOfYear>
    <!--...more "monthsOfYear" elements...-->
    <years>...</years>
    <years>...</years>
    <!--...more "years" elements...-->
    <uiPassParam>...</uiPassParam>
    <cronString>...</cronString>
  </complexJobTrigger>
  <simpleJobTrigger>
    <repeatInterval>...</repeatInterval>
    <repeatCount>...</repeatCount>
    <cronString>...</cronString>
    <endTime>...</endTime>
    <startTime>...</startTime>
    <uiPassParam>...</uiPassParam>
    <duration>...</duration>
  </simpleJobTrigger>
  <jobParameters>
    <name>...</name>
    <type>...</type>
    <stringValue>...</stringValue>
    <stringValue>...</stringValue>
    <!--...more "stringValue" elements...-->
  </jobParameters>
  <jobParameters>
    <!--...-->
  </jobParameters>
  <!--...more "jobParameters" elements...-->
  <jobName>...</jobName>
  <actionClass>...</actionClass>
  <duration>...</duration>
  <timeZone>...</timeZone>
</jobScheduleRequest>

Example JSON

{
  "inputFile" : "...",
  "outputFile" : "...",
  "cronJobTrigger" : {
    "cronString" : "...",
    "endTime" : "...",
    "startTime" : "...",
    "uiPassParam" : "...",
    "duration" : ...
  },
  "complexJobTrigger" : {
    "startTime" : "...",
    "endTime" : "...",
    "daysOfWeek" : [ ..., ... ],
    "daysOfMonth" : [ ..., ... ],
    "weeksOfMonth" : [ ..., ... ],
    "monthsOfYear" : [ ..., ... ],
    "years" : [ ..., ... ],
    "uiPassParam" : "...",
    "cronString" : "..."
  },
  "simpleJobTrigger" : {
    "repeatInterval" : ...,
    "repeatCount" : ...,
    "cronString" : "...",
    "endTime" : "...",
    "startTime" : "...",
    "uiPassParam" : "...",
    "duration" : ...
  },
  "jobParameters" : [ {
    "name" : "...",
    "type" : "...",
    "stringValue" : [ "...", ... ]
  }, ... ],
  "jobName" : "...",
  "actionClass" : "...",
  "duration" : ...,
  "timeZone" : "..."
}

Copyright © Pentaho.com