cronjob.create¶
Create a new cron job.
stderr and stdout are boolean values which if true, represent that we would like to suppress standard error / standard output respectively.
Type: object
No Additional Properties
No Additional Properties
Type: array
No Additional Items
No Additional Properties
No Additional Properties
No Additional Items
Tuple Validation
Parameter 1: data
data
Type: objectNo Additional Properties
Enabled
Type: boolean Default: trueStderr
Type: boolean Default: falseStdout
Type: boolean Default: trueCronJobSchedule
Type: objectDefault:
{
"minute": "00",
"hour": "*",
"dom": "*",
"month": "*",
"dow": "*"
}
No Additional Properties
Minute
Type: string Default: "00"Hour
Type: string Default: "*""00" - "23"
Dom
Type: string Default: "*""1" - "31"
Month
Type: string Default: "*""1" (January) - "12" (December)
Dow
Type: string Default: "*""1" (Monday) - "7" (Sunday)
Command
Type: stringDescription
Type: string Default: ""User
Type: stringCronJobEntry
Type: objectNo Additional Properties
Enabled
Type: boolean Default: trueStderr
Type: boolean Default: falseStdout
Type: boolean Default: trueCronJobSchedule
Type: objectDefault:
{
"minute": "00",
"hour": "*",
"dom": "*",
"month": "*",
"dow": "*"
}
No Additional Properties
Minute
Type: string Default: "00"Hour
Type: string Default: "*""00" - "23"
Dom
Type: string Default: "*""1" - "31"
Month
Type: string Default: "*""1" (January) - "12" (December)
Dow
Type: string Default: "*""1" (Monday) - "7" (Sunday)
Command
Type: stringDescription
Type: string Default: ""User
Type: stringId
Type: integerRequired roles: SYSTEM_CRON_WRITE