Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
Since I a new to unix probably unix fans will able to crack this problem which I am facing.
I want to execute an oracle export through a cron.
I make the entry correctly . 40 15 * * * exp_file_name.
But it doesn't execute at all.
at command prompt if I run the exp_file_name , it runs perfectly fine.
This export has to be run not as a root user but as an ordinary user.
there is no mention of this user in cron/allow or cron/deny.
What should I do in order to run this file through the cron.
moreover if the entry is done the cron/allow how does it look.
Any suggestions are welcome.
I have some users in oracle mentioned as ops$harry . that way if harry logs in the unix he will be able to log in to oracle (sqlplus) with login as / no need of giving a username and password once again.
The problem I am facing is if harry wants to take an export of the oracle database then a file is made which is kept in cron.
the file is given below.
exp userid=ops$harry/password_of_harry full=y
When i execute this file it gives me an error say harry variable not defined.
It is true that there is no envirnoment variable defined as harry.
But I want to do this export done by the user ops$harry of oracle.
how can make unix understand that this the user of oracle and not a envirnoment variable on unix.
Since I a new to unix probably unix fans will able to crack this problem which I am facing.
I want to execute an oracle export through a cron.
I make the entry correctly . 40 15 * * * exp_file_name.
But it doesn't execute at all.
at command prompt if I run the exp_file_name , it runs perfectly fine.
This export has to be run not as a root user but as an ordinary user.
there is no mention of this user in cron/allow or cron/deny.
What should I do in order to run this file through the cron.
moreover if the entry is done the cron/allow how does it look.
Any suggestions are welcome.
I have some users in oracle mentioned as ops$harry . that way if harry logs in the unix he will be able to log in to oracle (sqlplus) with login as / no need of giving a username and password once again.
The problem I am facing is if harry wants to take an export of the oracle database then a file is made which is kept in cron.
the file is given below.
exp userid=ops$harry/password_of_harry full=y
When i execute this file it gives me an error say harry variable not defined.
It is true that there is no envirnoment variable defined as harry.
But I want to do this export done by the user ops$harry of oracle.
how can make unix understand that this the user of oracle and not a envirnoment variable on unix.