Difference between revisions of "SQWareProduction:adabas:etc:sqwada CreInst CrontabRef.cfg"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
## 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 | ||
− | # | + | # Backup |
− | 00 20 * * * ksh -c '. $HOME/.profile < | + | 00 20 * * * ksh -c '. $HOME/.profile <DBID>;$gvsqw_AdaBin/sqwada_RunJob.ksh -I <DBID> -A Backup > $HOME/tmp/Backup_<DBID>.log 2>&1' |
− | # | + | # DeleteCheckpoints |
− | 00 04 * * 6 ksh -c '. $HOME/.profile < | + | #00 04 * * 6 ksh -c '. $HOME/.profile <DBID>;$gvsqw_AdaBin/sqwada_RunJob.ksh -I <DBID> -A DeleteCheckpoints > $HOME/tmp/DeleteCheckpoints_<DBID>.log 2>&1' |
− | # | + | # Reorg |
− | 00 05 * * 6 ksh -c '. $HOME/.profile < | + | #00 05 * * 6 ksh -c '. $HOME/.profile <DBID>;$gvsqw_AdaBin/sqwada_RunJob.ksh -I <DBID> -A Reorg > $HOME/tmp/Reorg_<DBID>.log 2>&1' |
</pre> | </pre> | ||
<br> | <br> |
Latest revision as of 18:51, 23 February 2018
Configuration file $gvsqw_AdaBin/../etc/sqwada_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 <DBID>;$gvsqw_AdaBin/sqwada_RunJob.ksh -I <DBID> -A Backup > $HOME/tmp/Backup_<DBID>.log 2>&1' # DeleteCheckpoints #00 04 * * 6 ksh -c '. $HOME/.profile <DBID>;$gvsqw_AdaBin/sqwada_RunJob.ksh -I <DBID> -A DeleteCheckpoints > $HOME/tmp/DeleteCheckpoints_<DBID>.log 2>&1' # Reorg #00 05 * * 6 ksh -c '. $HOME/.profile <DBID>;$gvsqw_AdaBin/sqwada_RunJob.ksh -I <DBID> -A Reorg > $HOME/tmp/Reorg_<DBID>.log 2>&1'