ai_member_xiaokui/scripts/sync_feishu_feedback_wrapper.sh
2026-05-01 08:10:01 +08:00

22 lines
532 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 任务名称:飞书问题反馈同步与对话链排序
# 执行时间:每天 10:00
# 归属 Agent小葵 xiaokui
set -e
export PATH=/root/.nvm/versions/node/v24.14.0/bin:$PATH
LOG_FILE="/var/log/xiaokui_feedback_sync.log"
log() {
echo "[$(date +'%Y-%m-%d %H:%M:%S')] $1" >> "$LOG_FILE"
}
log "=== 飞书问题反馈同步开始 ==="
cd /root/.openclaw/workspace-xiaokui
python3 skills/feishu-feedback-sync/scripts/sync_feishu_feedback.py --days 3 >> "$LOG_FILE" 2>&1
log "=== 同步完成 ==="
exit 0