crontab.txt 1.56 KB
# 取代 Hermes cron 的 6 个 job(2026-10-17 迁移)。日志: ~/pixelphone/cron-logs/<job>.log
PATH=/data/data/com.termux/files/usr/bin:/system/bin
HOME=/data/data/com.termux/files/home
TMPDIR=/data/data/com.termux/files/usr/tmp
D=/data/data/com.termux/files/home/pixelphone/scripts
L=/data/data/com.termux/files/home/pixelphone/cron-logs
*/5 * * * *   python3 $D/reply-sender.py >> $L/reply-sender.log 2>&1
*/10 * * * *  bash $D/wechat-viewer-watchdog.sh >> $L/viewer-watchdog.log 2>&1
0 */2 * * *   bash $D/learn-pipeline-trigger.sh >> $L/learn-classify.log 2>&1
0 * * * *     bash $D/learn-executor.sh >> $L/learn-executor.log 2>&1
0 */6 * * *   bash $D/boss-resume.sh >> $L/boss-resume.log 2>&1
0 6 * * *     bash $D/gate-audit-cron.sh >> $L/gate-audit.log 2>&1
# TGO 日报链(取代 Hermes 调度器):01 生成 / 02 出图 / 03 发送;失败下个整点重试(窗口内每 10 分钟)
*/10 1 * * *  bash $D/daily-digest.sh gen  >> $L/digest-gen.log 2>&1
*/10 2 * * *  bash $D/daily-digest.sh img  >> $L/digest-img.log 2>&1
*/10 3 * * *  bash $D/daily-digest.sh send >> $L/digest-send.log 2>&1
# TGO 文章预摘要(原调度器每小时整点那段):extract→unsummarized→summarize,日报 gen 前保证文章已有摘要
0 * * * *     pgrep -f tgo_summarize_batch >/dev/null || python3 $D/tgo_summarize_batch.py >> $L/tgo-summary.log 2>&1
# 原图保存 A+B(旧调度器定频 02/06/10/14/18/22 点,放 :15 避开 02:00 出图;约30分钟接管屏幕,锁屏/微信未起自动跳过)
15 2,6,10,14,18,22 * * * bash $D/orig-save.sh >> $L/orig-save.log 2>&1