Difference between revisions of "SQWareProduction:oracle:etc:sqwora CreDb CrontabRef.cfg"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 9: | Line 9: | ||
## <ORACLE_SID> | ## <ORACLE_SID> | ||
#Purge alert | #Purge alert | ||
− | 00 08 * * 0 | + | 00 08 * * 0 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A PurgeAlert > $HOME/tmp/PurgeAlert_<ORACLE_SID>.log 2>&1' |
#Datapump | #Datapump | ||
− | 00 22 * * 0-5 | + | 00 22 * * 0-5 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A ExpdpFull > $HOME/tmp/ExpdpFull_<ORACLE_SID>.log 2>&1' |
#Backups | #Backups | ||
− | 00 20 * * 5 | + | 00 20 * * 5 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A RmanFull > $HOME/tmp/RmanFull_<ORACLE_SID>.log 2>&1' |
− | 00 20 * * 0-4 | + | 00 20 * * 0-4 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A RmanInc > $HOME/tmp/RmanInc_<ORACLE_SID>.log 2>&1' |
</pre> | </pre> | ||
<br> | <br> |
Latest revision as of 16:02, 23 February 2025
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_CrontabRef.cfg:
File content:
########################### ## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command ## <ORACLE_SID> #Purge alert 00 08 * * 0 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A PurgeAlert > $HOME/tmp/PurgeAlert_<ORACLE_SID>.log 2>&1' #Datapump 00 22 * * 0-5 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A ExpdpFull > $HOME/tmp/ExpdpFull_<ORACLE_SID>.log 2>&1' #Backups 00 20 * * 5 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A RmanFull > $HOME/tmp/RmanFull_<ORACLE_SID>.log 2>&1' 00 20 * * 0-4 bash -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A RmanInc > $HOME/tmp/RmanInc_<ORACLE_SID>.log 2>&1'