添加prefect调度
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: logistics-service
|
||||
prefect-version: "3.0.0"
|
||||
|
||||
build: []
|
||||
push: []
|
||||
pull: []
|
||||
|
||||
deployments:
|
||||
- name: logistics-bitable-sync-daily
|
||||
version: "1.0.0"
|
||||
description: "每天定时同步未发货物流数据到飞书多维表格。"
|
||||
entrypoint: prefect_logistics_scheduler.py:logistics_bitable_sync_flow
|
||||
parameters: {}
|
||||
tags:
|
||||
- logistics
|
||||
- feishu
|
||||
- bitable
|
||||
- prefect
|
||||
schedules:
|
||||
- cron: "0 12 * * *"
|
||||
timezone: "Asia/Shanghai"
|
||||
active: true
|
||||
work_pool:
|
||||
name: logistics-service-pool
|
||||
Reference in New Issue
Block a user