A
A
alegkonin2022-01-30 22:56:28
Continuous Integration
alegkonin, 2022-01-30 22:56:28

How to set time resource in concourse for every hour at 00 minutes?

Hello. I can't find this setting
in the off-doc ( https://concourse-ci.org/ ).
There is like:

source:
    interval: 1h # 
    location: Europe/Moscow

But the problem with this setting is that it runs every hour, but the hour is counted from the end of the previous cycle (I think so, because the schedule is gradually shifting forward, which is generally dumb)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alegkonin, 2022-02-02
@alegkonin

https://github.com/pivotal-cf-experimental/cron-re...
---

resource_types:
- name: cron-resource
  type: docker-image
  source:
    repository: cftoolsmiths/cron-resource

resources:
  - name: 00-trigger
    type: cron-resource
    source:
      expression: "0 * * * *"
      location: "Europe/Moscow"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question