proxy.crontab #3

  • //
  • guest/
  • russell_jackson/
  • sdp/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • cron.d/
  • proxy.crontab
  • View
  • Commits
  • Open Download .zip Download (360 B)
MAILTO=REPL_MAILTO
MAILFROM=REPL_MAILFROM
PATH=/p4/common/bin:/p4/REPL_INSTANCE/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:
SHELL=/bin/bash

# common tasks

# Auto update the crontab

INSTANCE=REPL_INSTANCE
# Cache Purge on Proxy servers 
0 22 * * * /p4/common/bin/proxyclean.sh ${INSTANCE}

0 21 * * 6 rm -f /p4/${INSTANCE}/logs/p4p.log
# Change User Description Committed
#3 34003 Russell C. Jackson (Rusty) Improve SDP diagnostics and correct maintenance/recovery failures.

Add durable logs and explicit failure handling across operational, Maintenance,
setup, trigger, snapshot and download scripts. Correct retention selection,
restore preflights, environment setup and command/API handling. Include offline
regression coverage and the review report with deferred improvement proposals.

Include requested journal archiving and automatic acceptance of new SSH host
keys for remote rsync. Preserve the NumJnls > 2 threshold and existing shell
options. Remove Windows scripts as requested.

Validation: full review suite 138 passed, 8 skipped; subsequent rsync/logging
suite 29 passed. Shell/Python/JSON static checks passed; no live operations run.
#2 26375 Russell C. Jackson (Rusty) Added a proxy log removal on the weekend.
#1 26373 Russell C. Jackson (Rusty) Added a proxy clean script and a proxy crontab.