SQWareProduction:db2:etc:sqwdb2 CreInst CrontabRef.cfg

From Wiki_dbSQWare
Revision as of 18:32, 22 December 2017 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 <lvsqw_InstanceParam>;$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I <lvsqw_InstanceParam> -A Backup > $HOME/tmp/Backup_<lvsqw_InstanceParam>.log 2>&1'
# Reorganize
00 03 * * 6 ksh -c '. $HOME/.profile <lvsqw_InstanceParam>;$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I <lvsqw_InstanceParam> -A Reorganize > $HOME/tmp/Reorganize_<lvsqw_InstanceParam>.log 2>&1'
# RunStats
00 05 * * 6 ksh -c '. $HOME/.profile <lvsqw_InstanceParam>;$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I <lvsqw_InstanceParam> -A RunStats > $HOME/tmp/RunStats_<lvsqw_InstanceParam>.log 2>&1'