每日备份 2026-06-10 12:57:13
This commit is contained in:
1 parent
fda2ccb8c2
commit
3d2e638c6a
244 files changed
+58890
-3
No files matched your search
+37
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
# SEO进化猎手报告生成器 v2.0 - 调用 Python 版深度分析
|
||||
|
||||
# 资源检查
|
||||
RESOURCE_CHECK="/root/.openclaw/scripts/resource-guard.sh"
|
||||
if [ -f "$RESOURCE_CHECK" ]; then
|
||||
if ! bash "$RESOURCE_CHECK" > /dev/null 2>&1; then
|
||||
echo "[SKIP] 资源不足,跳过本次执行"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
LOG_FILE="/root/.openclaw/workspace/seo/logs/seo-evolution.log"
|
||||
|
||||
log() { echo "[$(date '+%H:%M:%S')] $1" | tee -a "$LOG_FILE" 2>/dev/null; }
|
||||
|
||||
main() {
|
||||
log "========== SEO进化猎手 v2.0 开始 =========="
|
||||
|
||||
cd /root/.openclaw/workspace/seo
|
||||
|
||||
# 1. 运行深度分析猎手
|
||||
log "阶段1: 深度分析 GitHub 项目..."
|
||||
python3 seo_evolution_hunter.py >> "$LOG_FILE" 2>&1
|
||||
|
||||
# 2. 运行评估器
|
||||
log "阶段2: 评估项目价值..."
|
||||
python3 evolution_evaluator.py >> "$LOG_FILE" 2>&1
|
||||
|
||||
# 3. 主动进化执行
|
||||
log "阶段3: 自动进化(无需确认)..."
|
||||
python3 evolution_executor.py >> "$LOG_FILE" 2>&1
|
||||
|
||||
log "========== SEO进化猎手 v2.0 完成 =========="
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in new issue
Block a user