Difference between revisions of "SQWareProduction:oracle:etc:sqwora CreDb CrontabRef.cfg"
m (Updated by Expdbtools) |
m (Updated by BatchUser) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
File content: | File content: | ||
<pre> | <pre> | ||
+ | ########################### | ||
+ | ## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command | ||
+ | ## <ORACLE_SID> | ||
#Purge alert | #Purge alert | ||
00 08 * * 0 ksh -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A PurgeAlert > $HOME/tmp/PurgeAlert_<ORACLE_SID>.log 2>&1' | 00 08 * * 0 ksh -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 ksh -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 ksh -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 * * 5 ksh -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 ksh -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A RmanInc > $HOME/tmp/RmanInc_<ORACLE_SID>.log 2>&1' | 00 20 * * 0-4 ksh -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 17:52, 27 September 2023
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 ksh -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 ksh -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 ksh -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 ksh -c '. $HOME/.profile <ORACLE_SID>;$gvsqw_OraBin/sqwora_RunJob.ksh -I <ORACLE_SID> -A RmanInc > $HOME/tmp/RmanInc_<ORACLE_SID>.log 2>&1'