Base class for commands that can be scheduled in Cloudera Manager.
Note that schedule IDs are not preserved upon import.| name | data type | description | 
|---|---|---|
| id | number | The schedule id. | 
| displayName | string | The schedule display name. | 
| description | string | The schedule description. | 
| startTime | string | The time at which the scheduled activity is triggered for the first time. | 
| endTime | string | The time after which the scheduled activity will no longer be triggered. | 
| interval | number | The duration between consecutive triggers of a scheduled activity. | 
| intervalUnit | ApiScheduleInterval | The unit for the repeat interval. | 
| nextRun | string | Readonly. The time the scheduled command will run next. | 
| paused | boolean | The paused state for the schedule. The scheduled activity will not be triggered as long as the scheduled is paused. | 
| alertOnStart | boolean | Whether to alert on start of the scheduled activity. | 
| alertOnSuccess | boolean | Whether to alert on successful completion of the scheduled activity. | 
| alertOnFail | boolean | Whether to alert on failure of the scheduled activity. | 
| alertOnAbort | boolean | Whether to alert on abort of the scheduled activity. | 
Example
{
  "id" : 12345,
  "displayName" : "...",
  "description" : "...",
  "startTime" : "...",
  "endTime" : "...",
  "interval" : 12345,
  "intervalUnit" : "HOUR",
  "nextRun" : "...",
  "paused" : true,
  "alertOnStart" : true,
  "alertOnSuccess" : true,
  "alertOnFail" : true,
  "alertOnAbort" : true
}