INPUT_OBJECT

SpringPolicyScheduleInput

Schedule for policy execution on a schedule basis.

link GraphQL Schema definition

  • input SpringPolicyScheduleInput {
  • # When interval `MONTH` is selected - the `dayOfMonth` is required to specify on
  • # which day of month timer should run.
  • # Value between 1-31 can be specified. If 29 is selected then it will run on 29th
  • # of every month expect February(28) i.e. it will be skipped for February.
  • dayOfMonth: Int
  • # Day of the week that tasks run. Returns one of the following codes:
  • # MONDAY
  • # TUESDAY
  • # WEDNESDAY
  • # THURSDAY
  • # FRIDAY
  • # SATURDAY
  • # SUNDAY
  • # Returned for `WEEK` interval only.
  • dayOfWeek: [SpringPolicyDaysOfWeek!]
  • # Frequency that the schedule runs for the specified interval. For example, if the
  • # interval is Hourly, a frequency of 2 means the task runs every 2 hours.
  • frequency: Int!
  • # Interval or repeat frequency at which the schedule runs.
  • # NOTE:
  • # 1) When a `WEEKLY` interval is selected then `dayOfWeek` is required.
  • # 2) When a `MONTHLY` interval is selected then `dayOfMonth` is required.
  • interval: SpringPolicyIntervalType!
  • # Time during the day it should run at - any value between 00:00 to 23:59.
  • # NOTE: runAt is not applicable for 'HOURLY' intervals.
  • runAt: SpringPolicyRunAtInput
  • }