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/p4verify.sh ${INSTANCE} # Update the limits group to make sure all users are listed in it. */60 * * * * [ -e /p4/common/bin ] && /p4/common/bin/update_limits.py ${INSTANCE} # Checkpoints 5 2 * * 6 [ -e /p4/common/bin ] && /p4/common/bin/weekly_backup.sh ${INSTANCE} 5 2 * * 0-5 [ -e /p4/common/bin ] && /p4/common/bin/daily_backup.sh ${INSTANCE} # p4review daemon */5 * * * * [ -e /p4/common/bin ] && /p4/common/bin/p4master_run ${INSTANCE} /p4/common/bin/p4review.py ${INSTANCE}
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#11 | 22622 | C. Thomas Tyler |
Renamed crontab templates files to be template.* rather than *.template. This is an 'optimize for lazy' tweak, since if we use a prefix, then the actual crontab files named of the form crontab.$USER.${HOSTNAME%%.*} won't have command line completion conficts with the templates. Added a ReadMe.md file describing the suggested (and with HMS required) naming convention for crontab files. Added a command summary doc for the sdp_sync.sh script that manages crontab files in a tight ship deployment. The reference to this file from the ReadMe.md file won't work now with this change in the dev branch, but will work once promoted to main. |
||
#10 | 21327 | Russell C. Jackson (Rusty) | Update to have mkdirs put the correct instance name into the crontab files. | ||
#9 | 19958 | Russell C. Jackson (Rusty) | Correcting crontab again... | ||
#8 | 19876 | Russell C. Jackson (Rusty) |
Corrected crontab to only run on 1st Sat of Jan. and July. |
||
#7 | 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. |
||
#6 | 19112 | Russell C. Jackson (Rusty) |
Turn off database reorg per best practice recommendation from Anton and Michael S. Stop running weekly_backup.sh automatically since a compact database actually causes a performance hit. Added note to occasionally run weekly_backup.sh to recapture free space. |
||
#5 | 18859 | Russell C. Jackson (Rusty) |
Created script to rotate the journal and replay it to the offline database. Updated the crontab to run the new script before the weekly. Updated the edge crontab to account for the time adjustment in the master crontab. |
||
#4 | 12923 | C. Thomas Tyler |
Routine merge down from main to dev. Resolved with 'p4 resolve -as', no merges or conflicts. |
||
#3 | 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. |
||
#2 | 12028 | C. Thomas Tyler | Refreshed SDP dev branch, merging down from main. | ||
#1 | 10638 | C. Thomas Tyler | Populate perforce_software-sdp-dev. | ||
//guest/perforce_software/sdp/main/Server/Unix/p4/common/etc/cron.d/crontab.template | |||||
#1 | 10148 | C. Thomas Tyler | Promoted the Perforce Server Deployment Package to The Workshop. |