Hi team, quick question: ```policies: - name: o...
# general
m
Hi team, quick question:
Copy code
policies:
  - name: offhours-asg
    resource: asg
    comments: |
      Daily stoppage outside business hours
    mode:
      type: periodic
      schedule: cron(0 * * * ? *)
    filters:
      - or:
          - "tag:Name": "my-tag"
          - "tag:cluster": "my-tag"
          - "tag:eks:cluster-name": "my-tag"
      - or:
          - type: offhour
            opt-out: true
            tag: skip_offhour_scaledown
            offhour: 1
            default_tz: utc
          - type: offhour
            opt-out: true
            tag: skip_offhour_scaledown
            offhour: 5
            default_tz: utc
    actions:
      - stop
      - type: notify
        slack_template: slack_default
        violation_desc:  |
          Not Applicable
        action_desc:  |
          my description
        slack_msg_color: danger
        to:
          - <https://hooks.slack.com/services>...
We can see this policy runs everyday but not Saturdays (by looking at the slack messages). Isn’t this supposed to be running every evenings and night?
k
best would be to check your lambda logs on it