Files
school_compare/integrator/flows/sen_detail.yml

26 lines
634 B
YAML
Raw Normal View History

id: sen-detail-annual-update
namespace: schoolcompare.data
description: Download and load SEN primary need breakdown via EES API
triggers:
- id: annual-schedule
type: io.kestra.plugin.core.trigger.Schedule
cron: "0 4 15 9 *" # 15 September annually at 04:00
tasks:
- id: download
type: io.kestra.plugin.core.http.Request
uri: http://integrator:8001/run/sen_detail?action=download
method: POST
timeout: PT20M
- id: load
type: io.kestra.plugin.core.http.Request
uri: http://integrator:8001/run/sen_detail?action=load
method: POST
timeout: PT30M
retry:
maxAttempts: 3
delay: PT15M