SQWareProduction:cassandra:etc:sqwcas CreInst CrontabRef.cfg

From Wiki_dbSQWare
Revision as of 19:09, 30 November 2015 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search

Configuration file $gvsqw_CasBin/../etc/sqwcas_CreInst_CrontabRef.cfg:



File content:

## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
# 'nodetool repair -pr' on all nodes
#00 21 6 * * ksh -c '. $HOME/.profile <CAS_SID>;$gvsqw_CasBin/sqwcas_RunJob.ksh -I <CAS_SID> -A NodetoolRepairPr > $HOME/tmp/NodetoolRepairPr_<CAS_SID>.log 2>&1'
# 'nodetool compact' on all nodes
#00 21 3 * * ksh -c '. $HOME/.profile <CAS_SID>;$gvsqw_CasBin/sqwcas_RunJob.ksh -I <CAS_SID> -A NodetoolCompact > $HOME/tmp/NodetoolCompact_<CAS_SID>.log 2>&1'