Chris Gunderson
03/22/2024, 8:04 PMChris Gunderson
03/22/2024, 8:04 PMschedule:
cron: "*/10 08-14 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
Chris Gunderson
03/22/2024, 8:04 PMKevin Grismore
03/22/2024, 8:06 PMKevin Grismore
03/22/2024, 8:06 PMChris Gunderson
03/22/2024, 8:06 PMKevin Grismore
03/22/2024, 8:07 PMChris Gunderson
03/22/2024, 8:07 PMKevin Grismore
03/22/2024, 8:07 PMChris Gunderson
03/22/2024, 8:08 PM- name: Covered-Shares-Report
description: Email sent every 10 minutes to alert traders of covered shares
entrypoint: src/reports/covered_shares_report.py:covered_shares_report
work_pool: *ny4_work_pool
parameters: {
recipients: []
}
schedule:
cron: "*/10 08-14 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
schedule:
cron: "0 15 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
Chris Gunderson
03/22/2024, 8:08 PMKevin Grismore
03/22/2024, 8:09 PMschedules
with a list of schedulesKevin Grismore
03/22/2024, 8:09 PMschedules:
- cron: "*/10 08-14 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
- cron: "0 15 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
Chris Gunderson
03/22/2024, 8:10 PMChris Gunderson
03/26/2024, 5:16 PM- name: Covered-Shares-Report
description: Email sent every 10 minutes to alert traders of covered shares
entrypoint: src/reports/covered_shares_report.py:covered_shares_report
work_pool: *ny4_work_pool
parameters: {
recipients: []
}
schedules:
- cron: "*/10 08-14 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
- cron: "0 15 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
@Kevin Grismore I tried this, but it didn't appear to deploy the scheduleChris Gunderson
03/26/2024, 5:17 PMChris Gunderson
03/26/2024, 5:28 PM- name: Covered-Shares-Report
description: Email sent every 10 minutes to alert traders of covered shares
entrypoint: src/reports/covered_shares_report.py:covered_shares_report
work_pool: *ny4_work_pool
parameters: {
recipients: []
}
schedules:
- schedule:
cron: "*/10 08-14 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
- schedule:
cron: "0 15 * * 1-5"
timezone: "America/Chicago"
active: "{{ prefect.blocks.string.active-status }}"
Chris Gunderson
03/26/2024, 5:29 PMKevin Grismore
03/26/2024, 6:05 PMbuild:
push:
pull:
deployments:
- name: datalake-deployment
entrypoint: datalake_listener.py:datalake_listener
schedules:
- cron: 0 0 * * *
active: False
- cron: 1 0 * * *
active: False
work_pool:
name: k8s-demo
and it does have both schedules on itKevin Grismore
03/26/2024, 6:09 PMChris Gunderson
03/28/2024, 12:41 PM