SysOps: voice-agy-webbuilder-backup — 2026-06-23 10:04 UTC
This commit is contained in:
+8
-4
@@ -56,11 +56,15 @@ echo "=== Gitea SysOps user ==="
|
||||
chmod +x scripts/setup_gitea_sysops.sh 2>/dev/null || true
|
||||
bash scripts/setup_gitea_sysops.sh || true
|
||||
|
||||
echo "=== SysOps + Herman cron ==="
|
||||
(crontab -l 2>/dev/null || true | grep -v sysops_daily.py | grep -v herman_daily_digest.py | grep -v herman_platform_update.py; \
|
||||
echo "=== SysOps + Herman + Agent scheduler cron ==="
|
||||
(crontab -l 2>/dev/null || true | grep -v sysops_daily.py | grep -v herman_daily_digest.py | grep -v herman_platform_update.py | grep -v agent_scheduler.py | grep -v research_refresh.py | grep -v marketing_publish_due.py; \
|
||||
echo "0 6 * * * cd $REMOTE_DIR && /usr/bin/python3 scripts/research_refresh.py >> /tmp/research-daily.log 2>&1"; \
|
||||
echo "5 6 * * * curl -sf -X POST http://127.0.0.1:8700/retail/rss/refresh >> /tmp/rss-daily.log 2>&1 || true"; \
|
||||
echo "10 6 * * * cd $REMOTE_DIR && /usr/bin/python3 scripts/agent_scheduler.py >> /tmp/agent-scheduler.log 2>&1"; \
|
||||
echo "0 7 * * * cd $REMOTE_DIR && /usr/bin/python3 scripts/sysops_daily.py >> /tmp/sysops-daily.log 2>&1"; \
|
||||
echo "30 7 * * * cd $REMOTE_DIR && /usr/bin/python3 scripts/herman_daily_digest.py >> /tmp/herman-daily.log 2>&1") | sort -u | crontab -
|
||||
echo "Cron: SysOps 07:00, Herman briefing 07:30"
|
||||
echo "30 7 * * * cd $REMOTE_DIR && /usr/bin/python3 scripts/herman_daily_digest.py >> /tmp/herman-daily.log 2>&1"; \
|
||||
echo "0 8 * * * cd $REMOTE_DIR && /usr/bin/python3 scripts/marketing_publish_due.py >> /tmp/marketing-publish.log 2>&1") | sort -u | crontab -
|
||||
echo "Cron: research 06:00, RSS 06:05, agent_scheduler 06:10, SysOps 07:00, Herman 07:30, marketing publish 08:00"
|
||||
|
||||
echo "=== Run SysOps daily now (test) ==="
|
||||
cd "$REMOTE_DIR" && python3 scripts/sysops_daily.py || true
|
||||
|
||||
Reference in New Issue
Block a user