Home » Infrastructure » Unix » i want my server to take back up on its own at midnight
i want my server to take back up on its own at midnight [message #97642] Sat, 05 October 2002 11:12 Go to next message
soniamit
Messages: 2
Registered: October 2002
Junior Member
hi
i am having my unix based oracle server i want to take back up of my server on its own for that i made the backup script but while running this script by the cron deamon by the system on its own it gives message that exp (exxport) not found

what should i do?
plz mail me on my mail id

Amit soni
Re: i want my server to take back up on its own at midnight [message #97644 is a reply to message #97642] Sun, 06 October 2002 04:03 Go to previous message
pwl
Messages: 22
Registered: May 2000
Junior Member
Amit,
Yes I got caught by that too ! The cron does not run
the profile, so it does not get the path.
So in your script - if its ksh - make the first line
read something like :-

. ${HOME}/.profile

The first . means it stays in this shell.
Alternatively, why not create a script in
/usr/local/etc and make anyone who needs Oracle call
it in their .profile .
Then the first line of your shell script can call it
also and all will be well.

cheers
Previous Topic: Lsnrctl error
Next Topic: export/import
Goto Forum:
  


Current Time: Fri Mar 29 08:33:53 CDT 2024