<?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: CRON in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059052#M29795</link>
    <description>You can do it with something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXPDIR=/export&lt;BR /&gt;exp username/password file=$EXPDIR/$USERNAME_$(date +%d%m%Y).dmp owner=$USERNAME&lt;BR /&gt;&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;  find $EXPDIR -name $USERNAME*.dmp -mtime +1 -exec rm {}\;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 23 Aug 2007 04:24:24 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-08-23T04:24:24Z</dc:date>
    <item>
      <title>CRON</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059050#M29793</link>
      <description>Hi to all...&lt;BR /&gt;&lt;BR /&gt;i want to clarify one doubt.&lt;BR /&gt;am exporting the my oracle databse table by using the following command in the linux prompt.&lt;BR /&gt;&lt;BR /&gt;$ exp username/password file=username_DDMMYYYY.dmp owner=username&lt;BR /&gt;&lt;BR /&gt;I waant to run this coammnd daily 8 o clock night and i want to change the date in the file field and want to delete the previous day *.dmp file too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is this is possible with cron job.&lt;BR /&gt;if yes please explain me how to do?&lt;BR /&gt;&lt;BR /&gt;thanx in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Prasanth</description>
      <pubDate>Thu, 23 Aug 2007 03:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059050#M29793</guid>
      <dc:creator>prasanth.ps</dc:creator>
      <dc:date>2007-08-23T03:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: CRON</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059051#M29794</link>
      <description>Hey&lt;BR /&gt;&lt;BR /&gt;create (or generate through a shell script) a parameter file for the export:&lt;BR /&gt;&lt;BR /&gt;$cat export.par&lt;BR /&gt;userid=username/password&lt;BR /&gt;file=username_DDMMYYYY.dmp&lt;BR /&gt;owner=username&lt;BR /&gt;&lt;BR /&gt;then execute it from cron "exp parfile=/path/to/export.par"&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 23 Aug 2007 04:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059051#M29794</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-08-23T04:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: CRON</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059052#M29795</link>
      <description>You can do it with something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXPDIR=/export&lt;BR /&gt;exp username/password file=$EXPDIR/$USERNAME_$(date +%d%m%Y).dmp owner=$USERNAME&lt;BR /&gt;&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;  find $EXPDIR -name $USERNAME*.dmp -mtime +1 -exec rm {}\;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 04:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cron/m-p/4059052#M29795</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-23T04:24:24Z</dc:date>
    </item>
  </channel>
</rss>

