20 lines
539 B
Bash
Executable File
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
|