<?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: Schedule Oracle Export in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866742#M397706</link>
    <description>Thanks for help all.</description>
    <pubDate>Thu, 21 Oct 2004 14:27:21 GMT</pubDate>
    <dc:creator>Adrian Sobers2</dc:creator>
    <dc:date>2004-10-21T14:27:21Z</dc:date>
    <item>
      <title>Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866734#M397698</link>
      <description>I would like to add the scheduling of a schema level export as part of our Backup and Recovery plan.&lt;BR /&gt;&lt;BR /&gt;We are running Oracle 8.1.7.4 on HP-UX 11i. I would like to export the schema IRD to this location on the HP-UX box:&lt;BR /&gt;&lt;BR /&gt;/var/export&lt;BR /&gt;&lt;BR /&gt;I would like to do this every week on Saturday morning at about 3am.&lt;BR /&gt;&lt;BR /&gt;How do I go about this under HP-UX?&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.</description>
      <pubDate>Thu, 21 Oct 2004 12:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866734#M397698</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-10-21T12:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866735#M397699</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;do this through cron,&lt;BR /&gt;&lt;BR /&gt;use oracle id (if you have one) to schedule this job through cron.&lt;BR /&gt;&lt;BR /&gt;Do "man crontab" on more help on setting up cron jobs.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 12:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866735#M397699</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-10-21T12:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866736#M397700</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One way to do it would be to write a shell script for your Oracle user account to do the export, and then you can use cron to schedule that script to run on Saturday mornings at 3am.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 12:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866736#M397700</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-10-21T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866737#M397701</link>
      <description>I will use my oracle user id to run this cron job. Here is my planned entry to the crontab file to run the export every Saturday at 3am:&lt;BR /&gt;&lt;BR /&gt;0 3 * * 6 (cd $ORACLE_HOME/scripts; sh export.sh)&lt;BR /&gt;&lt;BR /&gt;Does this look ok?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 13:33:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866737#M397701</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-10-21T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866738#M397702</link>
      <description>I would not count on cron knowing about your environment variables, such as $ORACLE_HOME.  You'll probably have better success if you spell out the path explicitly:&lt;BR /&gt;&lt;BR /&gt;0 3 * * 6 /oracle/app/oracle/scripts/export.sh&lt;BR /&gt;&lt;BR /&gt;Assuming here that your ORACLE_HOME is /oracle/app/oracle.  Also, cron runs with the POSIX shell and does not include the user environment, so your script should set any environment variables needed.&lt;BR /&gt;&lt;BR /&gt;I also like to redirect the output of the script to a log file, so you could have something like this at the end after 'export.sh':&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/some/dir/export.logfile&lt;BR /&gt;&lt;BR /&gt;Or you can redirect output inside your export.sh script.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 13:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866738#M397702</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-10-21T13:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866739#M397703</link>
      <description>Yes I've thought it over and I will go with this:&lt;BR /&gt;&lt;BR /&gt;0 3 * * 6 /home/oracle/export.sh &amp;gt;&amp;gt; /home/oracle/export.log&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 13:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866739#M397703</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-10-21T13:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866740#M397704</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;cron will not give you $ORACLE_HOME. You will have to set it yourself. I would suggest giving cron the full path shell script then first thing in the shell get the oracle environment and then do the export.&lt;BR /&gt;0 3 * * 6 /oracle/app/oracle/products/920/scripts/sh export.sh&lt;BR /&gt;and inside&lt;BR /&gt;. /path/oracle.env.sh&lt;BR /&gt;export ....&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 13:51:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866740#M397704</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-10-21T13:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866741#M397705</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;In cron I always use the root and then something like:&lt;BR /&gt;&lt;BR /&gt;su - &lt;ORACLE_OWNER&gt; -c /oracle/app/oracle/products/920/scripts/sh export.sh &amp;gt;&amp;gt; /home/oracle/export.log&lt;BR /&gt;&lt;BR /&gt;Regards, MB.&lt;/ORACLE_OWNER&gt;</description>
      <pubDate>Thu, 21 Oct 2004 14:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866741#M397705</guid>
      <dc:creator>Marcel Boogert_1</dc:creator>
      <dc:date>2004-10-21T14:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule Oracle Export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866742#M397706</link>
      <description>Thanks for help all.</description>
      <pubDate>Thu, 21 Oct 2004 14:27:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/schedule-oracle-export/m-p/4866742#M397706</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-10-21T14:27:21Z</dc:date>
    </item>
  </channel>
</rss>

