crontab job loosing the Oracle env settings 2007-07-25 - By Armin Geyer
Back
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
|
|