Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Crontab ,HELP!!!
If this is root's crontab, then invoke script as oracle.
... su - oracle ...
Don't forget "-" This will run script with oracle's environment.
-----Original Message-----
Sent: Tuesday, February 06, 2001 8:10 PM
To: Multiple recipients of list ORACLE-L
Hello All,
I want to run a Job using crontab scheduling.The job is running but with error like sqlplus and svrmgrl not found.
When I am using the crontab script then it gives some error ,like sqlplus and svrmgrl not found.
But ths same scripts manually working fine .
So please tell me is there any path will setup to run the crontab . I am running the crontab from oracle id ,not from root.
Please tell me what is the problem if i will run in orcale id. Where i will give permission so that it will get the path of sqlplus and svrmgrl .
I am sending the out put of cron .Please see it and tell me.
our "cron" job on JLCSBLU1
/db/oracle/oradata/scripts/SIEBELBKUP/coldbkup
produced the following output:
Started Cold Backup For jlisuser Wed Feb 7 11:05:01 JST 2001 Started Cold Backup For jlisuser Wed Feb 7 11:05:01 JST 2001/db/oracle/oradata/scripts/SIEBELBKUP/coldbkup: sqlplus: not found
/db/oracle/oradata/scripts/SIEBELBKUP/coldbkup: sqlplus: not found
/db/oracle/oradata/scripts/SIEBELBKUP/coldbkup: sqlplus: not found
/db/oracle/oradata/scripts/SIEBELBKUP/coldbkup: sqlplus: not found
Regards,
saroj.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Dash, Saroj (CAP,CEF) INET: Saroj.Dash_at_gecapital.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Molina, Gerardo INET: Gerardo.Molina_at_schwab.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Feb 07 2001 - 00:45:35 CST