SQWareProduction:db2:etc:sqwdb2 CreInst CrontabRef.cfg

From Wiki_dbSQWare
Revision as of 22:19, 17 December 2012 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Configuration file $gvsqw_D2db2Bin/../etc/sqwdb2_CreInst_CrontabRef.cfg:



File content:

## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
# Backup
00 20 * * * ksh -c '. $HOME/.profile <DB2INSTANCE>;$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I <DB2INSTANCE> -A Backup > $HOME/tmp/Backup_<DB2INSTANCE>.log 2>&1'
# Reorganize
00 03 * * 6 ksh -c '. $HOME/.profile <DB2INSTANCE>;$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I <DB2INSTANCE> -A Reorganize > $HOME/tmp/Reorganize_<DB2INSTANCE>.log 2>&1'
# RunStats
00 05 * * 6 ksh -c '. $HOME/.profile <DB2INSTANCE>;$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I <DB2INSTANCE> -A RunStats > $HOME/tmp/RunStats_<DB2INSTANCE>.log 2>&1'