SQWareProduction:db2:etc:sqwdb2 CreInst CrontabRef.cfg

De WikiFr_dbSQWare
Aller à : navigation, rechercher

Fichier de configuration $gvsqw_D2db2Bin/../etc/sqwdb2_CreInst_CrontabRef.cfg:



Contenu du fichier:

## 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'