I have 2 service in the same project.
One service name is BAR One service name is FOO
I have cron on BAR and I have two environments "default" and "staging"
I can set Cron like this
- description: "STAGING: BAR"
url: /en/cron
schedule: 1 of month 07:00
target: staging
retry_parameters:
min_backoff_seconds: 2.5
max_doublings: 5
- description: "PROD: BAR"
url: /en/cron
schedule: 1 of month 07:00
target: default
retry_parameters:
min_backoff_seconds: 2.5
max_doublings: 5
I'd like to do this even with FOO I have two environments "foo" and "stagingfoo"
- description: "STAGING: FOO"
url: /en/foo/cron
schedule: 1 of month 07:00
target: stagingfoo
retry_parameters:
min_backoff_seconds: 2.5
max_doublings: 5
- description: "PROD: FOO"
url: /en/foo/cron
schedule: 1 of month 07:00
target: foo
retry_parameters:
min_backoff_seconds: 2.5
max_doublings: 5
But stagingfoo gave an error, maybe it doesn't find the route. I can't see any error from my console
> target: staging works
> target: default works
> target: foo works target:
> stagingfoo doesn't work
I have only one cron.yaml
file in FOO root