INPUT_OBJECT

CreateScheduledJob

Example to create a scheduleJob: mutation createScheduleJob { createScheduledJob(input: { name: "every5Min" runMode:Recurring recurringScheduleParts: [ { repeatIntervalUnit: Minutes repeatInterval: 5 }] jobTemplates:[ {

#clusterId: "rt-242c1beb-653a-4299-bb33-2d8fb105d70b" clusterId: "YOUR OWN CLUSTER ID" taskTemplates : [ { engineId: "9e611ad7-2d3b-48f6-a51b-0a1ba40fe255" webstream adapter payload: { url:"https://s3.amazonaws.com/src-veritone-tests/stage/20190505/0_40_Eric%20Knox%20BWC%20Video_40secs.mp4" } }, { engineId: "352556c7-de07-4d55-b33f-74b1cf237f25" playback }, { engineId: "8bdb0e3b-ff28-4f6e-a3ba-887bd06e6440" chunk audio payload:{ ffmpegTemplate: "audio" chunkOverlap: 15 customFFMPEGProperties:{ chunkSizeInSeconds: "30" } } }, {

#engine to run engineId: "c0e55cde-340b-44d7-bb42-2e0d65e98255" } ] } ] } ) { id } }

link GraphQL Schema definition

1input CreateScheduledJob {
3
2jobTemplateIds: [ID!]
5
4jobTemplates: [CreateJobTemplate!]
7
6weeklyScheduleParts: [CreateWeeklySchedulePart!]
9
8recurringScheduleParts: [CreateRecurringSchedulePart!]
11
10name: String!
14
12# A detailed description. Defaults to name.
13description: String
16
15runMode: RunMode
21
17# JSON containing metadata details for this scheduled job.
18# If supplied, then the detailsSchemaId must also be set.
19# The supplied data must comply with the schema
20details: JSONData
24
22# Schema ID for detail metadata on this scheduled job
23detailsSchemaId: ID
26
25isActive: Boolean
28
27startDateTime: DateTime
30
29stopDateTime: DateTime
33
31# Optionally, associate content templates with the new scheduled job
32contentTemplates: [CreateScheduledJobContentTemplateWithScheduledJob!]
38
34# Organization ID. Used only by Veritone platform components.
35# Other clients should not attempt to send this field. Any value sent
36# will be ignored.
37organizationId: ID
43
39# Application ID. Used only by Veritone platform components.
40# Other clients should not attempt to send this field. Any value sent
41# will be ignored.
42applicationId: ID
48
44# Indicates whether or not the scheduled job is publicly accessible.
45# Only Veritone administrators can create public scheduled jobs.
46# Other users will get an error if they attempt to set this value to true.
47isPublic: Boolean
50
49affiliates: [CreateProgramAffiliate!]
52
51jobPipelineIds: [ID!]
53}

link Required by

This element is not required by anyone