Files
redmine/cron-scripts/sync-live-customer-service.sh
Jason Thistlethwaite 9ee9eb3ec6 Organized
2026-10-17 20:50:35 -04:00

20 lines
539 B
Bash
Executable File

#!/usr/bin/env bash
# Prod CS ticket sync → durable cache, then rematerialize local queues.
# Window: 6h after warm cache (bump to 30d only for catch-up).
set -euo pipefail
cd /home/jason/projects/redmine
#CACHE=/home/jason/projects/redmine/cache/redmine_tickets
./bin/rtl \
sync \
--remote-status-id '*' \
--remote-updated-since 1d \
--run-log \
--run-log-keep 20 \
--quiet
# Refresh symlink queues for external agents/scripts (local-only).
./bin/rtl \
materialize-queues \
# --config queues.example.json \
>/dev/null