Torstein Molland
01/09/2023, 3:00 PM0 0 0 5 JAN,MAR,JUN,SEP,DEC * *
. When I click save I get an error message "Failed to update deployment".
How can this be resolved? Thank you in advance! 😊Christopher Boyd
01/10/2023, 2:38 PMTorstein Molland
01/10/2023, 2:41 PM{
"schedule": {
"timezone": "UTC",
"cron": "0 0 0 5 JAN,MAR,JUN,SEP,DEC * *",
"day_or": false
}
}
And the response payload is:
{
"exception_message": "Invalid request received.",
"exception_detail": [
{
"loc": [
"body",
"schedule",
"interval"
],
"msg": "field required",
"type": "value_error.missing"
},
{
"loc": [
"body",
"schedule",
"cron"
],
"msg": "extra fields not permitted",
"type": "value_error.extra"
},
{
"loc": [
"body",
"schedule",
"day_or"
],
"msg": "extra fields not permitted",
"type": "value_error.extra"
},
{
"loc": [
"body",
"schedule",
"cron"
],
"msg": "Invalid cron string: \"0 0 0 5 JAN,MAR,JUN,SEP,DEC * *\"",
"type": "value_error"
},
{
"loc": [
"body",
"schedule",
"rrule"
],
"msg": "field required",
"type": "value_error.missing"
},
{
"loc": [
"body",
"schedule",
"cron"
],
"msg": "extra fields not permitted",
"type": "value_error.extra"
},
{
"loc": [
"body",
"schedule",
"day_or"
],
"msg": "extra fields not permitted",
"type": "value_error.extra"
}
],
"request_body": {
"schedule": {
"timezone": "UTC",
"cron": "0 0 0 5 JAN,MAR,JUN,SEP,DEC * *",
"day_or": false
}
}
}
Christopher Boyd
01/10/2023, 2:44 PM0 0 5 1,3,6,9,12 0
Torstein Molland
01/10/2023, 3:04 PMAt 12:00 AM on day 5 of the month, only in January, March, June, September, and December
the query you suggested will execute At 12:00 AM on Sunday and on day 5 of the month, only in January, March, June, September, and December
Christopher Boyd
01/10/2023, 3:05 PMTorstein Molland
01/10/2023, 3:05 PM