SQWareProduction:oracle:etc:sqwora CreDb CrontabRef.cfg

From Wiki_dbSQWare
Revision as of 17:52, 27 September 2023 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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'