SQWareProduction:mssql:etc:sqwmsq ConfInst CrontabRef.cfg

From Wiki_dbSQWare
Revision as of 21:29, 24 May 2011 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Configuration file $gvsqw_MssBin/../etc/sqwmsq_ConfInst_CrontabRef.cfg:



File content:

# Backup all databases
00 22 * * 1-6  ksh -c '. $HOME/.profile ;$gvsqw_MsqBin/sqwmsq_RunJob.ksh -S <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 -S <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 -S <lvsqw_InstanceParam> -A StatisticsAll > $HOME/tmp/StatisticsAll_<lvsqw_InstanceParam>.log 2>&1'