Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » suse oracle »

Re: [suse-oracle] crontab job loosing the Oracle env settings

Armin Geyer

2007-07-25




take the easy way, use the crontab of root:

0 4 * * 2-6 /bin/su - oracle -c "/u0/backup/scripts/hotbackup.sh "
0 6 * * 2-6 /bin/su - oracle -c "/u0/backup/scripts/cpbackup.sh"

and root will run your scrips as user oracle with oracle env...


Mit freundlichen Gruessen / Best regards

Armin Geyer

Project Manager Technical IT

Isola GmbH
52348 Dueren, Germany

Phone: +49 (0) 2421 808 306
Fax:   +49 (0) 2421 808 8 306
E-mail: armin.geyer@(protected)

--------------------------------------------------------------
Isola GmbH
Isolastraße 2
52353 Düren - Deutschland
Telefon: 0 24 21 / 8 08-0
Telefax: 0 24 21 / 8 08-8 08

E-Mail: info-dur@(protected)

Internet: www.isola.de

Amtsgericht Düren: HR B 4622
USt-IdNr.: DE234641041

Geschäftsführer:
Augusto Meozzi, Rag und Karl Stollenwerk


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.