<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script not working in Cron in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544593#M866201</link>
    <description>Beverly&lt;BR /&gt;&lt;BR /&gt;Sorry to be so inprecise ;-)&lt;BR /&gt;&lt;BR /&gt;I see that John give you all informations you&lt;BR /&gt;need to make your tests....&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Herv?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 25 Jun 2001 16:16:34 GMT</pubDate>
    <dc:creator>Herve BRANGIER</dc:creator>
    <dc:date>2001-06-25T16:16:34Z</dc:date>
    <item>
      <title>Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544572#M866180</link>
      <description>Hi all, &lt;BR /&gt; On a production database, two scripts set to run weekly are not running. I am going to focus on the analyze schema script here. The script will run successfully when executed alone. We had to do that since it did not run in the cron. However, we do not wish to continue to do that since it needs to be run weekly. In fact, after running it successfully by itself, the next time it was supposed to run, we received the log of the last successful run from the Unix mailx command. I have checked the /var/adm/cron/log file. The return code is "rc=1", so I am sure it did not run. &lt;BR /&gt;&lt;BR /&gt;Below are the lines from the cron to run the analyze schema script as well as the lines from the script. I have compared it to others analyze schema scripts on other servers (those that are running). The only difference I have found is that the others tend to be 'COMPUTE' instead of 'ESTIMATE'. I have been asked NOT to change this. Any ideas as to why this is not running? Any input will be greatly appreciated. Thanks everyone. &lt;BR /&gt;&lt;BR /&gt; Beverly &lt;BR /&gt;&lt;BR /&gt; FROM THE CRON: &lt;BR /&gt; 00 8 * * 0,1 /ora0/oracle/SQL/anal_schemas &lt;BR /&gt;&lt;BR /&gt; FROM THE /ora0/oracle/SQL/anal_schemas SCRIPT: &lt;BR /&gt; #!/bin/ksh -x &lt;BR /&gt; # &lt;BR /&gt; # anal_schemas - jww - May 15, 2001 &lt;BR /&gt; # &lt;BR /&gt; # rewritten from older script which didn't work &lt;BR /&gt; # &lt;BR /&gt; # &lt;BR /&gt;&lt;BR /&gt; rm analyze_schemas.log &lt;BR /&gt; spool analyze_schemas.log &lt;BR /&gt;&lt;BR /&gt; ORACLE_SID='dbname' &lt;BR /&gt; ORACLE_BASE='/path explicitly stated' &lt;BR /&gt; ORACLE_HOME='/path explicitly stated' &lt;BR /&gt; export ORACLE_HOME ORACLE_SID ORACLE_BASE &lt;BR /&gt; PSWD=`cat /path explicitly stated` &lt;BR /&gt; sqlplus system/$PSWD@dbname @$HOME/SQL/anal_schemas.sql &lt;BR /&gt; EEADD=`cat /path` &lt;BR /&gt;&lt;BR /&gt; spool off &lt;BR /&gt;&lt;BR /&gt; That is the end of the executable script in the cron job. Then, of course, the script called by&lt;BR /&gt; the executable is the anal_schemas.sql script (below). &lt;BR /&gt;&lt;BR /&gt;FROM THE CALLED SQL SCRIPT:&lt;BR /&gt; spool /ora0/oracle/SQL/dbname_anal_schemas.log &lt;BR /&gt;&lt;BR /&gt; select to_char(sysdate,'DD-MON-YYYY HH24:MI:SS') "schema name Start Time" from&lt;BR /&gt; dual; &lt;BR /&gt; exec dbms_utility.analyze_schema('schema_name','ESTIMATE','',30); &lt;BR /&gt; select to_char(sysdate,'DD-MON-YYYY HH24:MI:SS') "End Time" from dual; &lt;BR /&gt;&lt;BR /&gt; (This is repeated for each schema to be analyzed. It ends with a simple spool off.) &lt;BR /&gt; spool off &lt;BR /&gt; / &lt;BR /&gt;&lt;BR /&gt; The only difference I have found on the other scripts (which run successfully) is that &lt;BR /&gt;&lt;BR /&gt;exec dbms_utility.analyze_schema('schema_name','ESTIMATE','',30); &lt;BR /&gt;&lt;BR /&gt; is replaced with &lt;BR /&gt;&lt;BR /&gt;exec dbms_utility.analyze_schema('schema_name','COMPUTE'); &lt;BR /&gt;&lt;BR /&gt;I am new to this and really need to get this fixed. Thank you so very much for any assistance. &lt;BR /&gt;&lt;BR /&gt; Beverly Wixon &lt;BR /&gt; Space Gateway Support &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2001 12:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544572#M866180</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T12:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544573#M866181</link>
      <description>I am new to this so I don't have a definite answer, this is all I have to offer as a suggestion. &lt;BR /&gt;&lt;BR /&gt;I was working on a cron script to send an Oracle report this weekend. I did have problems with the owner and group that the script was assigned to.&lt;BR /&gt;&lt;BR /&gt;The message you posted needs more knowledge of HP/UX and Oracle than I have right now. :)</description>
      <pubDate>Mon, 25 Jun 2001 12:57:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544573#M866181</guid>
      <dc:creator>Tim Krego_1</dc:creator>
      <dc:date>2001-06-25T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544574#M866182</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;cron has a very limited environment and this is inherited by any jobs that it issues.&lt;BR /&gt;&lt;BR /&gt;You also need to be aware that profile and .profile scripts are NOT executed by cron issued jobs.&lt;BR /&gt;&lt;BR /&gt;Your problem is almost certainly that your Oracle environment is not set properly. Specifically $ORACLE_HOME/bin is not set in the PATH variable so that sqlplus will not be located.&lt;BR /&gt;&lt;BR /&gt;Try getting cron to start a job which just does the 'env' command and compare this with output from 'env' when you are logged in.&lt;BR /&gt;&lt;BR /&gt;The best solution is to have a subscript that sets up an Oracle environment depending on the SID, sourcing ORACLE_HOME from file /etc/oratab and run it from your script. Oracle supply one - /usr/local/bin/oraenv &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;John</description>
      <pubDate>Mon, 25 Jun 2001 13:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544574#M866182</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-25T13:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544575#M866183</link>
      <description>&lt;BR /&gt;Well I suspect problems with your environement variables !&lt;BR /&gt;&lt;BR /&gt;cron does not take environement variables you are setting in yout shell&lt;BR /&gt;&lt;BR /&gt;try running your scrip with the at command (which takes your environement). I this works you have to include all necessary env variables into your script&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2001 13:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544575#M866183</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2001-06-25T13:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544576#M866184</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have some questions.  First, which owner runs the cron job?  Is it run as root or as an oracle user?  Also, who owns the anal_schemas script and what are the permissions on it.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2001 13:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544576#M866184</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-06-25T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544577#M866185</link>
      <description>hi,&lt;BR /&gt;add the user in /var/adm/cron/cron.allow</description>
      <pubDate>Mon, 25 Jun 2001 13:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544577#M866185</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-06-25T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544578#M866186</link>
      <description>Thanks to John Palmer. I added the PATH='$ORACLE_HOM/bin/sqlplus' line and am testing it. I'm not sure what you meant by "Try getting cron to start a job which just does the 'env' command and&lt;BR /&gt;                                     compare this with output from 'env' when you are logged in. " Or what you meant by setting up the subscript. I don't have a /usr/local/bin/oraenv file. &lt;BR /&gt;&lt;BR /&gt;Thanks to Ranier. Which environment variables are set that cron does not accept? Exactly which script should I try running with the @ command? I thought it was set that way. (@$HOME/SQL/anal_schemas.sql -- isn't that what you mean?) &lt;BR /&gt;&lt;BR /&gt;Thanks to John Poff. This is the info from the long list (ll). I think it will answer your questions. &lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 oracle     dba           1196 Jun 25 10:16 oracle_cron&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-rwxr-xr-x   1 oracle     dba            605 Jun 22 08:40 anal_schemas&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 oracle     dba           2211 Jun 21 13:46 anal_schemas.sql&lt;BR /&gt;&lt;BR /&gt;Thanks to Ravi. I will add it for the test run.</description>
      <pubDate>Mon, 25 Jun 2001 13:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544578#M866186</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544579#M866187</link>
      <description>Ravi, the owner "Oracle" is in /var/adm/cron/cron.allow already. Thanks though.</description>
      <pubDate>Mon, 25 Jun 2001 13:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544579#M866187</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T13:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544580#M866188</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try to see where your ORACLE's environment &lt;BR /&gt;variables are initialized. I think that you &lt;BR /&gt;need to read your .profile or another file&lt;BR /&gt;to initalize them.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Herve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2001 13:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544580#M866188</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-06-25T13:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544581#M866189</link>
      <description>Thanks, Herve. Would you mind telling me how to do that? I am extremely new to this. This is my bosses script. He says it ran before, but stopped in early June. It's not a database I work on, so I don't know when it worked or when it stopped except for what I have read in the log file which goes back to April and always shows an rc greater than 0 (which I am told means it did not run).</description>
      <pubDate>Mon, 25 Jun 2001 13:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544581#M866189</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T13:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544582#M866190</link>
      <description>Here is a simple script to set-up an Oracle environment:-&lt;BR /&gt;-------------cut here-------------&lt;BR /&gt;export ORACLE_SID=${1:-????}&lt;BR /&gt;ORAINFO=$(grep "^${ORACLE_SID}:" /etc/oratab 2&amp;gt;/dev/null)&lt;BR /&gt;if      [[ -n ${ORAINFO} ]];&lt;BR /&gt;then    ORAINFO=${ORAINFO%%\#*}&lt;BR /&gt;        IFS=:&lt;BR /&gt;        set ${ORAINFO}&lt;BR /&gt;        unset IFS&lt;BR /&gt;&lt;BR /&gt;        export ORACLE_HOME=${2}&lt;BR /&gt;        export PATH=${PATH}:${ORACLE_HOME}/bin&lt;BR /&gt;        export SHLIB_PATH=${ORACLE_HOME}/lib&lt;BR /&gt;&lt;BR /&gt;else    print "No info in /etc/oratab for SID ${ORACLE_SID}"&lt;BR /&gt;        ORACLE_SID=""&lt;BR /&gt;fi&lt;BR /&gt;------------cut here---------------------&lt;BR /&gt;&lt;BR /&gt;Substitute whatever SID you want as the default in place of ????.&lt;BR /&gt;&lt;BR /&gt;If you put this script into a directory that is already on your path then add the following line to your main script:-&lt;BR /&gt;. ora_env &lt;SID&gt;&lt;BR /&gt;or if the directory is not included in PATH then:-&lt;BR /&gt;. /&lt;PATH to="" script=""&gt;&lt;BR /&gt;&lt;BR /&gt;PATH must contain the directory name '$ORACLE_HOME/bin' not the name of the command such as '$ORACLE_HOME/bin/sqlplus'. &lt;BR /&gt;&lt;BR /&gt;What I meant by a 'subscript' was using the '. ' command to execute a script within your current script not as a separate process (commonly known as 'dotting' the script).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/PATH&gt;&lt;/SID&gt;</description>
      <pubDate>Mon, 25 Jun 2001 13:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544582#M866190</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-25T13:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544583#M866191</link>
      <description>&lt;BR /&gt;Beverly,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;at is your standard unix command to execute jobs at &lt;BR /&gt;a specific time&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;at 22:30  &lt;CR&gt;&lt;BR /&gt;/ora0/oracle/SQL/anal_schemas  &lt;CR&gt;&lt;BR /&gt;&lt;CTRL d=""&gt;&lt;BR /&gt;&lt;BR /&gt;this will create your job /var/spool/cron/atjobs/*.a&lt;BR /&gt;&lt;BR /&gt;you can look at this file and will see what environement&lt;BR /&gt;variables are set.&lt;BR /&gt;&lt;BR /&gt;By the way:&lt;BR /&gt;if this job works you can use the job xyz.a and start this &lt;BR /&gt;through cron. you will be sure then that all varaibales are set.&lt;BR /&gt;&lt;BR /&gt;See also:   man at&lt;/CTRL&gt;&lt;/CR&gt;&lt;/CR&gt;</description>
      <pubDate>Mon, 25 Jun 2001 14:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544583#M866191</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2001-06-25T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544584#M866192</link>
      <description>To John Palmer. Wow! Our definitions of simple are way different.  :)  I'm trying it though. Isn't this (following) basically the same, except that it's missing the $ORACLE_HOME/bin directory. &lt;BR /&gt;&lt;BR /&gt;ORACLE_SID='repp'&lt;BR /&gt;ORACLE_BASE='/ora0/oracle/app/oracle/product'&lt;BR /&gt;ORACLE_HOME='/ora0/oracle/app/oracle/product/8.0.5'&lt;BR /&gt;export ORACLE_HOME ORACLE_SID ORACLE_BASE&lt;BR /&gt;PSWD=`cat /ora0/oracle/passwd/system`&lt;BR /&gt;sqlplus system/$PSWD@repp @$HOME/SQL/anal_schemas.sql&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To Rainer: Thanks. I don't have the permissions to run the at command, so I sent your reply to the sysadm asking her to run it. &lt;BR /&gt;&lt;BR /&gt;Thanks a bunch.</description>
      <pubDate>Mon, 25 Jun 2001 14:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544584#M866192</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T14:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544585#M866193</link>
      <description>Yes it's doing the same thing but it avoids hard coding pathnames into your scripts. When you come to upgrade Oracle, just amend the entry in /etc/oratab and voila all your scripts still work!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 25 Jun 2001 14:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544585#M866193</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-25T14:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544586#M866194</link>
      <description>To John Palmer -- Oh. I think I get it. This is a totally separate script, not just variables set at the start of every script (as it is done here). Then, after upgrading the rdbms, I would only have to edit one file (the etc you mentioned). And, since we are upgrading databases, this makes sense to me. Thanks for the info. It may make things much easier for me in the future -- when I actually write a Unix scripts. Unfortunately, right now, I still need to figure out why this one (which I did not write) won't work. Any ideas after looking at the scripts themselves.</description>
      <pubDate>Mon, 25 Jun 2001 14:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544586#M866194</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T14:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544587#M866195</link>
      <description>I think that you're just missing&lt;BR /&gt;PATH=${PATH}:${ORACLE_HOME}/bin</description>
      <pubDate>Mon, 25 Jun 2001 14:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544587#M866195</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-25T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544588#M866196</link>
      <description>Okay, John. I have added the following lines and have it set to test in a few minutes. Thanks, again.&lt;BR /&gt;&lt;BR /&gt;ORACLE_PATH='/ora0/oracle/app/oracle/product/8.0.5/bin'&lt;BR /&gt;&lt;BR /&gt;export PATH=$ORACLE_PATH&lt;BR /&gt;export SHLIB_PATH=$ORACLE_HOME/lib</description>
      <pubDate>Mon, 25 Jun 2001 15:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544588#M866196</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T15:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544589#M866197</link>
      <description>You need &lt;BR /&gt;PATH=$PATH:$ORACLE_PATH&lt;BR /&gt;&lt;BR /&gt;otherwise you will lose your normal PATH settings (/usr/bin etc)</description>
      <pubDate>Mon, 25 Jun 2001 15:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544589#M866197</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-25T15:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544590#M866198</link>
      <description>PATH=${PATH}:${ORACLE_HOME}/bin &lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:$ORACLE_PATH&lt;BR /&gt;&lt;BR /&gt;I'm sorry, but I am getting very confused.</description>
      <pubDate>Mon, 25 Jun 2001 15:26:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544590#M866198</guid>
      <dc:creator>Beverly Wixon</dc:creator>
      <dc:date>2001-06-25T15:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Script not working in Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544591#M866199</link>
      <description>PATH=${PATH}:${ORACLE_HOME}/bin &lt;BR /&gt;is preferable. &lt;BR /&gt;&lt;BR /&gt;${PATH} is another way of writing $PATH.&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:$ORACLE_PATH gives the same result because you have already set ORACLE_PATH to '/ora0/oracle/app/oracle/product/8.0.5/bin' &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2001 15:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-not-working-in-cron/m-p/2544591#M866199</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-25T15:35:00Z</dc:date>
    </item>
  </channel>
</rss>

