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 isola-group.com
------------------------------------------------------------
--
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 isola-group.com
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 suse.com
For additional commands, email: suse-oracle-help suse.com
Please see http://www.suse.com/oracl
e/ before posting
|