diff --git a/scripts/run_lark_group_sync.sh b/scripts/run_lark_group_sync.sh index d28a268..77bbb7b 100755 --- a/scripts/run_lark_group_sync.sh +++ b/scripts/run_lark_group_sync.sh @@ -2,9 +2,11 @@ # 飞书群消息同步到MySQL - 定时执行脚本 # crontab: 每4小时执行一次 # 0 */4 * * * /root/.openclaw/workspace-xiaokui/scripts/run_lark_group_sync.sh >> /var/log/lark_group_sync.log 2>&1 +# +# 2026-04-24 修复:改用新版脚本(支持 quote_message_id / parent_id / root_id) +# 旧脚本 scripts/sync_lark_group_to_mysql.py 不再使用 export PATH="/root/.nvm/versions/node/v24.14.0/bin:$PATH" -export LARK_SYNC_DB_PASS='xhuBx7d@uT2gUVv' cd /root/.openclaw/workspace-xiaokui -python3 scripts/sync_lark_group_to_mysql.py +python3 skills/feishu-group-msg-sync/scripts/sync_group_to_mysql.py