crontab.template #2

  • //
  • guest/
  • perforce_software/
  • sdp/
  • main/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • cron.d/
  • crontab.template
  • View
  • Commits
  • Open Download .zip Download (880 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
5 4 * * 6 [ -e /p4/common/bin ] && /p4/common/bin/p4master_run ${INSTANCE} -c /p4/common/bin/p4verify.sh

# Update the limits group to make sure all users are listed in it.
*/60 * * * * [ -e /p4/${INSTANCE}/bin ] && /p4/common/bin/p4master_run ${INSTANCE} -c /p4/common/bin/update_limits.py ${INSTANCE}

# Checkpoints
5 2 * * 6 [ -e /p4/${INSTANCE}/bin ] && /p4/common/bin/p4master_run ${INSTANCE} -c /p4/common/bin/weekly_backup.sh
5 2 * * 0-5 [ -e /p4/common/bin ] && /p4/common/bin/p4master_run ${INSTANCE} -c /p4/common/bin/daily_backup.sh

# p4review daemon
*/5 * * * * [ -e /p4/common/bin ] && /p4/common/bin/p4master_run ${INSTANCE} -c /p4/common/bin/p4review.py ${INSTANCE}

# Change User Description Committed
#11 22685 Russell C. Jackson (Rusty) Update main with current changes from dev.
#10 21338 C. Thomas Tyler Released SDP 2016.2.21328 (2016/12/16).
Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'.
#9 20050 C. Thomas Tyler Released: 2016.1.20028 (2016/08/03).
Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'.
#8 19898 C. Thomas Tyler Released SDP/MultiArch/2016.1/19888 (2016/07/07).
Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'.
#7 19414 C. Thomas Tyler Released SDP/MultiArch/2016.1/19410 (2016/05/17).
#6 18961 C. Thomas Tyler Released: SDP/MultiArch/2016.1/18958 (2016/04/08).
#5 12346 Russell C. Jackson (Rusty) Added p4master_run back to call to p4review.py since it needs P4PORT from the environment.
#4 12171 Russell C. Jackson (Rusty) Merge in changes to remove the need for p4master_run.
#3 11719 adrian_waters Make 'directory-existance' check consistent between cron entries : some used /p4/common/bin, others used /p4/${INSTANCE}/bin;  changed all to common/bin
#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.