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} 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 | |
---|---|---|---|---|---|
#1 | 19278 | trina | "Forking branch Main of perforce-software-sdp to trina-sdp." | ||
//guest/perforce_software/sdp/main/Server/Unix/p4/common/etc/cron.d/crontab.replica.template | |||||
#6 | 16261 | Russell C. Jackson (Rusty) | Removed warning from replica crontab to avoid confusion. | ||
#5 | 12444 | Russell C. Jackson (Rusty) | Log clean up script for replicas where sync_replica.sh cannot be run. | ||
#4 | 12171 | Russell C. Jackson (Rusty) | Merge in changes to remove the need for p4master_run. | ||
#3 | 11729 | Russell C. Jackson (Rusty) |
Added check to only create crontab files if they don't exist. Otherwise tell the user to copy the section and update the instance. Also moved the times in the replica out to allow more time for the checkpoint to complete. |
||
#2 | 11570 | Russell C. Jackson (Rusty) |
Brought in changes from Mark Foundry to add -S $MAILFROM to mail commands. Changed sync_replica.sh and weekly_sync_replica.sh to use $LOGFILE for consistency. Added mail command to both files as well. |
||
#1 | 10148 | C. Thomas Tyler | Promoted the Perforce Server Deployment Package to The Workshop. |