## Jobs that need to be enabled post-migration

# RMAN backups - Level 0
# 00 19 * * 0 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_level0.rcv aligneut &> /dev/null
## 00 21 * * 0 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_level0.rcv alignuat &> /dev/null

# RMAN backups - Level 1
# 00 19 * * 1-6 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_level1.rcv aligneut &> /dev/null
## 00 21 * * 1-6 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_level1.rcv alignuat &> /dev/null

#00 2 * * 1-6 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_arclogs.rcv aligneut &> /dev/null

# aligneut RMAN backup schedule CHG0089363
## 00 19 * * 0 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_level0.rcv aligneut &> /dev/null
## 00 19 * * 3 $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_level1.rcv aligneut &> /dev/null
## 00 1,13 * * * $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_arclogs.rcv aligneut &> /dev/null

# alignuat additional archivelog-only backups
## 00 0,6,12,18 * * * $HOME/rman_scripts/run_rman_script $HOME/rman_scripts/11g_arclogs.rcv alignuat &> /dev/null

# Active daily jobs
## 00  6  *  *  * /usr/bin/find /dumps/dp_exp_dir -name '*.dmp' -mtime +1 -exec rm {} \;
## 00  6  *  *  * /usr/bin/find /dumps/dp_exp_dir -name '*.log' -mtime +5 -exec rm {} \;
## 00  6  *  *  * /usr/bin/find /exports -name '*.dmp' -mtime +1 -exec rm {} \;
## 00  6  *  *  * /usr/bin/find /exports -name '*.log' -mtime +5 -exec rm {} \;
## 25  7  *  *  * /dumps/dp_exp_dir/refresh_edx_arc.ksh	> /dumps/dp_exp_dir/refresh_edx_arc.log	2>&1
# aligneut refresh suspended because now done via script on Prod
#00  3  *  *  0-5 /dumps/dp_exp_dir/refresh_aligneut.ksh  > /dumps/dp_exp_dir/refresh_aligneut.log        2>&1
# Pricing import suspended, executed via Prod
#00  8   *  * 0-5 /home/oracle/scripts/refresh_aligneut_pricing.ksh > /exports/aligneut/impdp/refresh_aligneut_pricing.log   2>&1

# One-off jobs
# Use refresh_aligneut_r.ksh when refresh_aligneut.ksh (above) fails, first changing WEEKDAY to WD-1
#15 10 01 07 * /dumps/dp_exp_dir/refresh_aligneut_r.ksh	> /dumps/dp_exp_dir/refresh_aligneut.log	2>&1
#35 09 02 07 * /dumps/dp_exp_dir/refresh_alignuat.ksh	> /dumps/dp_exp_dir/refresh_alignuat.log	2>&1
#00 11 05 03 * /dumps/dp_exp_dir/refresh_noble002.ksh	> /dumps/dp_exp_dir/refresh_noble002.log	2>&1
#30 16 06 06 * /dumps/dp_exp_dir/refresh_noble002d.ksh	> /dumps/dp_exp_dir/refresh_noble002.log	2>&1
#35 12 *   * * /dumps/dp_exp_dir/arc_run.ksh		>> /dumps/dp_exp_dir/arc_run.log		2>&1
#0 1 2 8 *  /dumps/dp_exp_dir/noble002/exp_noble002.sh  > /dumps/dp_exp_dir/noble002/oneoff.log  2>&1

# Superseded jobs
#50  7  *  * * /dumps/dp_exp_dir/refresh_edxpp_arc.ksh	> /dumps/dp_exp_dir/refresh_edxpp_arc.log	2>&1
#55  7  *  * * /dumps/dp_exp_dir/refresh_edxefet_arc.ksh > /dumps/dp_exp_dir/refresh_edxefet_arc.log	2>&1
#00  8  *  * * /dumps/dp_exp_dir/refresh_edxeconfirm_arc.ksh > /dumps/dp_exp_dir/refresh_edxeconfirm_arc.log 2>&1

## */30 * * * * /home/oracle/scripts/baseline.sh
## 00 00 * * * /home/oracle/scripts/baseline_archive.sh

## 00 1 * * 3 /home/oracle/bin//gather_empty_stale_stats_aligneut.sh
