SQWareProduction:mssql:etc:sqwmsq ConfInst CrontabRef.cfg

De WikiFr_dbSQWare
Aller à : navigation, rechercher

Fichier de configuration $gvsqw_MsqBin/../etc/sqwmsq_ConfInst_CrontabRef.cfg:



Contenu du fichier:

###########################
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
## <lvsqw_InstanceParam>
# Backup all databases
00 22 * * 1-6  ksh -c '. $HOME/.profile ;$gvsqw_MsqBin/sqwmsq_RunJob.ksh -I <lvsqw_InstanceParam> -A BackupAll > $HOME/tmp/BackupAll_<lvsqw_InstanceParam>.log 2>&1'
# Rebuild all databases
30 07 * * 6  ksh -c '. $HOME/.profile ;$gvsqw_MsqBin/sqwmsq_RunJob.ksh -I <lvsqw_InstanceParam> -A RebuildAll > $HOME/tmp/RebuildAll_<lvsqw_InstanceParam>.log 2>&1'
# Stats all databases
00 07 * * 0  ksh -c '. $HOME/.profile ;$gvsqw_MsqBin/sqwmsq_RunJob.ksh -I <lvsqw_InstanceParam> -A StatisticsAll > $HOME/tmp/StatisticsAll_<lvsqw_InstanceParam>.log 2>&1'