Computing.Net > Forums > Unix > Crontab issue

Crontab issue

Reply to Message Icon

Original Message
Name: stant_98
Date: September 6, 2006 at 02:03:47 Pacific
Subject: Crontab issue
OS: Solaris
CPU/Ram: 2.5/2
Comment:

Hi all,

I need some help. I am being told that the followmh crontab entries will start at the same time sometimes. Do you guys see a problem here. What we need is to have rman1 to run each Sunday only and rman2 to sun Mon-Sat only:

00 22 2-31 * 0 /local/home/oracle/app/oracle/admin/prod1/backup_scripts/rman1_dbf_bck.sh
00 22 2-31 * 1-6 /local/home/oracle/app/oracle/admin/prod1/backup_scripts/rman2_dbf_bck.sh

VN


Report Offensive Message For Removal


Response Number 1
Name: rimpyajit
Date: September 6, 2006 at 04:20:45 Pacific
Reply: (edit)

What you need is :

00 22 * * 0
local/home/oracle/app/oracle/admin/prod1/backup_scripts/rman1_dbf_bck.sh

00 22 * * 1-6
/local/home/oracle/app/oracle/admin/prod1/backup_scripts/rman2_dbf_bck.sh


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Crontab issue

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge