Files
inventory_analytics/prefect.yaml
T
2026-05-11 16:56:27 +08:00

50 lines
1.4 KiB
YAML

name: inventory-analytics
prefect-version: "3.0.0"
build: []
push: []
pull: []
deployments:
- name: channel-inventory-sync-0915-1915
version: "1.0.0"
description: "每天 09:15 和 19:15 执行渠道库存统计并写入飞书多维表格。"
entrypoint: prefect_inventory_scheduler.py:inventory_channel_inventory_sync_flow
parameters: {}
tags:
- inventory
- feishu
- channel-inventory-sync
schedules:
- cron: "15 9 * * *"
timezone: "Asia/Shanghai"
active: true
- cron: "15 19 * * *"
timezone: "Asia/Shanghai"
active: true
work_pool:
name: inventory-analytics-pool
- name: batch-inventory-report-0915-1915
version: "1.0.0"
description: "每天 09:15 和 19:15 生成批次库存统计数据并写入飞书多维表格,不输出本地报表文件。"
entrypoint: prefect_inventory_scheduler.py:inventory_batch_inventory_report_flow
parameters:
output: ""
feishu_table: "批次库存"
skip_feishu_sync: false
skip_report_output: true
tags:
- inventory
- feishu
- batch-inventory-report
schedules:
- cron: "15 9 * * *"
timezone: "Asia/Shanghai"
active: true
- cron: "15 19 * * *"
timezone: "Asia/Shanghai"
active: true
work_pool:
name: inventory-analytics-pool