修复 prefect定时问题
This commit is contained in:
@@ -155,14 +155,14 @@ def main() -> None:
|
||||
if args.serve_channel_inventory_sync:
|
||||
inventory_channel_inventory_sync_flow.serve(
|
||||
name="channel-inventory-sync-0915-1915",
|
||||
cron=("15 9 * * *", "15 19 * * *"),
|
||||
cron="15 9,19 * * *",
|
||||
tags=["inventory", "feishu", "channel-inventory-sync"],
|
||||
)
|
||||
return
|
||||
if args.serve_batch_inventory_report:
|
||||
inventory_batch_inventory_report_flow.serve(
|
||||
name="batch-inventory-report-0915-1915",
|
||||
cron=("15 9 * * *", "15 19 * * *"),
|
||||
cron="15 9,19 * * *",
|
||||
parameters=flow_kwargs,
|
||||
tags=["inventory", "feishu", "batch-inventory-report"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user