Remove obsolete scripts related to WeChat menu creation, server functionality, and cron job scheduling. Update project structure by deleting unnecessary files to streamline the codebase.

This commit is contained in:
2026-01-28 16:54:40 +08:00
parent b37e8ce581
commit bd8df98e9a
13 changed files with 23944 additions and 575 deletions
+20
View File
@@ -66,6 +66,26 @@ if [ ! -f "$CRON_SCRIPT" ]; then
fi
echo "✅ 环境检查通过"
# 检查当前时间是否在凌晨休息时间段 (00:10 - 07:00)
CURRENT_HOUR=$(date +%H)
CURRENT_MINUTE=$(date +%M)
CURRENT_TIME=$((CURRENT_HOUR * 60 + CURRENT_MINUTE))
START_TIME=$((0 * 60 + 10)) # 00:10
END_TIME=$((7 * 60 + 0)) # 07:00
if [ $CURRENT_TIME -ge $START_TIME ] && [ $CURRENT_TIME -lt $END_TIME ]; then
echo "🌙 当前时间 $(date '+%H:%M') 在凌晨休息时间段 (00:10-07:00)"
echo "💤 跳过爬取任务,直接结束"
echo "========================================"
echo "🏁 任务跳过"
echo "📅 结束时间: $(date '+%Y-%m-%d %H:%M:%S')"
echo "🔚 退出代码: 0 (跳过)"
echo "✅ 任务跳过成功"
echo "========================================"
exit 0
fi
echo "🚀 启动定时搜索脚本..."
# 切换到项目根目录