crontab.replica.template #2

  • //
  • guest/
  • alan_petersen/
  • sdp/
  • main/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • cron.d/
  • crontab.replica.template
  • View
  • Commits
  • Open Download .zip Download (851 B)
MAILTO=REPL_MAILTO
MAILFROM=REPL_MAILFROM
PATH=/p4/common/bin:/p4/1/bin:/p4/2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:
SHELL=/bin/bash

# common tasks

INSTANCE=1
# Verify
0 6 * * 6 [ -e /p4/common/bin ] && /p4/common/bin/p4verify.sh ${INSTANCE}

# Sync checkpoints from master
0 5 * * 0-5 [ -e /p4/common/bin ] && /p4/common/bin/sync_replica.sh ${INSTANCE}
# Don't run the line below on replicas that are being used as it resets the replica once per week.
0 5 * * 6 [ -e /p4/common/bin ] && /p4/common/bin/weekly_sync_replica.sh ${INSTANCE}

# If you can't run the scripts above due to rsync issues, then run this one instead.
# 0 5 * * 0-5 [ -e /p4/common/bin ] && /p4/common/bin/replica_cleanup.sh ${INSTANCE}

# Replica Status
0 8 * * 0-6 [ -e /p4/common/bin ] && /p4/common/bin/replica_status.sh ${INSTANCE} > /dev/null

# Change User Description Committed
#2 15465 alan_petersen Merging using sdp_alan_petersen
#1 10151 alan_petersen Populate //guest/alan_petersen/sdp/...
from //guest/perforce_software/sdp/....
//guest/perforce_software/sdp/main/Server/Unix/p4/common/etc/cron.d/crontab.replica.template
#1 10148 C. Thomas Tyler Promoted the Perforce Server Deployment Package to The Workshop.