fix: 输出种菜每日任务结构化日志
This commit is contained in:
parent
2230486480
commit
d80c5e6fcc
@ -223,9 +223,9 @@ CRON_TZ=Asia/Shanghai
|
||||
# 聚水潭推广费用:每天汇总最近 7 天,覆盖迟到改单并供财务经营报表直接读取。
|
||||
10 3 * * * root /usr/bin/timeout 1800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh business-mirror:sync-promotion-expenses --days=7 --quiet >/dev/null 2>&1
|
||||
# 聚水潭订单标签明细:先核对 2026-10-01 起逐日覆盖,补历史缺口,再刷新最近 7 天。
|
||||
10 6 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh jst-order-labels:sync-daily --from=2026-10-01 --company=1 --quiet >> /opt/caiwuxitong/runtime/sync-logs/jst-order-labels-daily.log 2>&1
|
||||
10 6 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh jst-order-labels:sync-daily --from=2026-10-01 --company=1 --json >> /opt/caiwuxitong/runtime/sync-logs/jst-order-labels-daily.log 2>&1
|
||||
# 种菜明细与业绩种菜金额:每天 09:30 先同步本月/上月工单明细,再做标签覆盖和业绩重算。
|
||||
30 9 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh store-receipt:planting-daily --from=2026-10-01 --company=1 --quiet >> /opt/caiwuxitong/runtime/sync-logs/planting-daily.log 2>&1
|
||||
30 9 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh store-receipt:planting-daily --from=2026-10-01 --company=1 --json >> /opt/caiwuxitong/runtime/sync-logs/planting-daily.log 2>&1
|
||||
# 商品月加权与成本:先算月加权单价,再同步商品成本,避免成本先于价格生成。
|
||||
0 18 * * * root /bin/sh /opt/caiwuxitong/run-finance-batch.sh finance:monthly-weighted-product-cost:auto >/dev/null 2>&1
|
||||
# 店铺违规信息预警:每天 05:30 把副本库抓取结果追平到统一表(本地补充字段不覆盖)。
|
||||
|
||||
@ -227,9 +227,9 @@ CRON_TZ=Asia/Shanghai
|
||||
# 聚水潭推广费用:每天汇总最近 7 天,覆盖迟到改单并供财务经营报表直接读取。
|
||||
10 3 * * * root /usr/bin/timeout 1800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh business-mirror:sync-promotion-expenses --days=7 --quiet >/dev/null 2>&1
|
||||
# 聚水潭订单标签明细:先核对 2026-10-01 起逐日覆盖,补历史缺口,再刷新最近 7 天。
|
||||
10 6 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh jst-order-labels:sync-daily --from=2026-10-01 --company=1 --quiet >> /opt/caiwuxitong/runtime/sync-logs/jst-order-labels-daily.log 2>&1
|
||||
10 6 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh jst-order-labels:sync-daily --from=2026-10-01 --company=1 --json >> /opt/caiwuxitong/runtime/sync-logs/jst-order-labels-daily.log 2>&1
|
||||
# 种菜明细与业绩种菜金额:每天 09:30 先同步本月/上月工单明细,再做标签覆盖和业绩重算。
|
||||
30 9 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh store-receipt:planting-daily --from=2026-10-01 --company=1 --quiet >> /opt/caiwuxitong/runtime/sync-logs/planting-daily.log 2>&1
|
||||
30 9 * * * root CAIWU_BATCH_LOCK_WAIT=10800 /bin/sh /opt/caiwuxitong/run-finance-batch.sh store-receipt:planting-daily --from=2026-10-01 --company=1 --json >> /opt/caiwuxitong/runtime/sync-logs/planting-daily.log 2>&1
|
||||
# 商品月加权与成本:先算月加权单价,再同步商品成本,避免成本先于价格生成。
|
||||
0 18 * * * root /bin/sh /opt/caiwuxitong/run-finance-batch.sh finance:monthly-weighted-product-cost:auto >/dev/null 2>&1
|
||||
# 店铺违规信息预警:每天 05:30 把副本库抓取结果追平到统一表(本地补充字段不覆盖)。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user