Re: Crontab - HA

  • From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • To: <Vajrala.Madhusudana@xxxxxxxx>, "Oracle-L (E-mail)" <Oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 14 Jun 2005 16:22:28 +0200

You can use this code in both crontabs:

* * * * * $(if [ -x ${your_script} ]; then ${your_command};fi)


Only the active node will see the script executable and will execute it.


HTH

Dimitre Radoulov

ETNØTEAM


----- Original Message ----- 
From: "Madhu R. Vajrala" <Vajrala.Madhusudana@xxxxxxxx>
To: "Oracle-L (E-mail)" <Oracle-l@xxxxxxxxxxxxx>
Sent: Tuesday, June 14, 2005 3:55 PM
Subject: Crontab - HA


> Hi All,
>
> We recently implemented V.C.S. The only problem we had so far is with
> the "CRONTAB". Whenever the database(service group) fail-over to the
> other server in cluster, I will have to manually comment the entries in
> the crontab file in the primary server. I would like this to be taken
> care of automatically w/o DBA intervention. probably you might have hit
> the similar situation in the past, please advise from your experiences
> on how to handle.
>
>
> Thank You,
> Madhu
>
> --
> //www.freelists.org/webpage/oracle-l 

--
//www.freelists.org/webpage/oracle-l

Other related posts: