xiaowei-system/scripts/dual-backup-push.sh

7 lines
293 B
Bash
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
# 双备份 cron wrapper — QUIET=1 静默模式
# 离线(不在局域网):本机 git 快照照做stdout 为空 → cron 不推飞书(牧尘 2026-08-12 指示)
# 在线:正常同步 + 输出确认
export QUIET=1
exec bash ~/.hermes/scripts/dual-backup.sh push 2>&1