p4.crontab.solaris #1

  • //
  • guest/
  • perforce_software/
  • sdp/
  • dev/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • cron.d/
  • p4.crontab.solaris
  • View
  • Commits
  • Open Download .zip Download (660 B)
# common tasks

# Verify
0 4 * * 6 /p4/common/bin/p4master_run 1 -c /p4/common/bin/p4verify.sh

# Checkpoints
0 2 * * 6 /p4/common/bin/p4master_run 1 -c /p4/common/bin/weekly_backup.sh
0 2 * * 0-5 /p4/common/bin/p4master_run 1 -c /p4/common/bin/daily_backup.sh
# The line below runs a daily checkpoint late in the evening before the weekly is scheduled to run. That will
# minimize the size of the journal to reply and therefore the downtime during the weekly.
0 22 * * 5 /p4/common/bin/p4master_run 1 -c /p4/common/bin/daily_backup.sh

# p4review daemon
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /p4/common/bin/p4master_run 1 -c /p4/common/bin/p4review.py 1

# Change User Description Committed
#3 19113 Russell C. Jackson (Rusty) Changed name of daily_backup.sh to daily_checkpoint.sh
Changed name of weekly_backup.sh to recreate_db_checkpoint.sh

Updated crontabs with new names, and changed to run recreate_db_checkpoint
on the 1st Sat. of Jan. and July. For most companies, this is a better
practice than recreating weekly per discussion with Anton.

Remove solaris crontab since Solaris is pretty much dead, and we don't test on it.

Updated docs to reflect name changes, and did a little clean other other sections
while I was in there.
#2 12169 Russell C. Jackson (Rusty) Updated copyright date to 2015

 Updated shell scripts to require an instance parameter to eliminate the need
 for calling p4master_run.    Python and Perl still need it since you have to set the
environment for them to run in.

 Incorporated comments from reviewers. Left the . instead of source as that seems
more common in the field and has the same functionality.
#1 10638 C. Thomas Tyler Populate perforce_software-sdp-dev.
//guest/perforce_software/sdp/main/Server/Unix/p4/common/etc/cron.d/p4.crontab.solaris
#1 10148 C. Thomas Tyler Promoted the Perforce Server Deployment Package to The Workshop.