Difference between revisions of "SQWareProduction:teradata:etc:sqwter CreInst CrontabRef.cfg"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 7: | Line 7: | ||
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command | ## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command | ||
# Dump | # Dump | ||
− | 00 20 * * * | + | 00 20 * * * bash -c '. $HOME/.profile <TER_SID>;$gvsqw_TerBin/sqwter_RunJob.ksh -I <TER_SID> -A Dump > $HOME/tmp/Dump_<TER_SID>.log 2>&1' |
# Optimize | # Optimize | ||
− | 00 04 * * 6 | + | 00 04 * * 6 bash -c '. $HOME/.profile <TER_SID>;$gvsqw_TerBin/sqwter_RunJob.ksh -I <TER_SID> -A Optimize > $HOME/tmp/Optimize_<TER_SID>.log 2>&1' |
# Analyze | # Analyze | ||
− | 00 05 * * 6 | + | 00 05 * * 6 bash -c '. $HOME/.profile <TER_SID>;$gvsqw_TerBin/sqwter_RunJob.ksh -I <TER_SID> -A Analyze > $HOME/tmp/Analyze_<TER_SID>.log 2>&1' |
</pre> | </pre> | ||
<br> | <br> |
Latest revision as of 16:03, 23 February 2025
Configuration file $gvsqw_TerBin/../etc/sqwter_CreInst_CrontabRef.cfg:
File content:
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command # Dump 00 20 * * * bash -c '. $HOME/.profile <TER_SID>;$gvsqw_TerBin/sqwter_RunJob.ksh -I <TER_SID> -A Dump > $HOME/tmp/Dump_<TER_SID>.log 2>&1' # Optimize 00 04 * * 6 bash -c '. $HOME/.profile <TER_SID>;$gvsqw_TerBin/sqwter_RunJob.ksh -I <TER_SID> -A Optimize > $HOME/tmp/Optimize_<TER_SID>.log 2>&1' # Analyze 00 05 * * 6 bash -c '. $HOME/.profile <TER_SID>;$gvsqw_TerBin/sqwter_RunJob.ksh -I <TER_SID> -A Analyze > $HOME/tmp/Analyze_<TER_SID>.log 2>&1'