Before making changes to an existing scheduled job, you can retrieve pertinent details about it by using theĀ scheduledJob query, as in the following example.
query scheduledJob($scheduleJobId:ID!) {
scheduledJob(id:$scheduleJobId){
id
createdDateTime
description
isActive
startDateTime
stopDateTime
primarySource {
id
name
createdDateTime
}
organizationId
jobTemplates{
records{
id
taskTemplates{
records{
id
engine{name id}
payload
}
}
}
}
jobs(limit:100){
count
records{
templateId
template{
id
}
createdBy
createdDateTime
id
tasks{
records{id status createdDateTime engine{id name} log{uri}}
}
}
}
}
}
What to do next
To make changes to a scheduled job, see Update a scheduled job.