template.crontab.broker #3

  • //
  • guest/
  • perforce_software/
  • sdp/
  • dev/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • cron.d/
  • template.crontab.broker
  • View
  • Commits
  • Open Download .zip Download (410 B)
PATH=/p4/common/bin:/p4/REPL_INSTANCE/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:
SHELL=/bin/bash

#------------------------------------------------------------------------------
# Tasks for SDP Instance REPL_INSTANCE.
INSTANCE=REPL_INSTANCE

# Broker Log Rotation
5 3 * * * [ -e /p4/common/bin ] && /p4/common/bin/run_if_broker.sh ${INSTANCE} /p4/common/bin/broker_rotate.sh ${INSTANCE}
# Change User Description Committed
#3 31524 C. Thomas Tyler Removed 'MAILTO' and 'MAILFROM' settings from crontab templates.

These cause the crontab to fail to load on Ubuntu systems, resulting
in this (rather confusing) error:

"/tmp/cf3":0: bad minute
errors in crontab file, can't install.

The individual SDP scripts set MAILTO and MAILFROM in the scripts,
so having these set wasn't necessary in any case.
#2 29387 C. Thomas Tyler Corrected crontab for a standalone p4broker.
#1 29097 C. Thomas Tyler Added template crontab for a broker-only host.

#review-29098