<?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: daily script to pull reports. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444901#M8994</link>
    <description>sorry, it should be &lt;BR /&gt;find . -depth -print|cpio -ocdumvB &amp;gt; /newpl&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Sep 2000 13:49:16 GMT</pubDate>
    <dc:creator>Mark Mitchell</dc:creator>
    <dc:date>2000-09-14T13:49:16Z</dc:date>
    <item>
      <title>daily script to pull reports.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444897#M8990</link>
      <description>I'm trying to create a script to run daily, post it in cron. What it have to do is move all reports from a /tmp dir generated the previous night to our /opt/ns-ftrack/docs-httpd-default so I can post it to our Intranet for the users to view it. The reports are generated daily, 7/days/week.&lt;BR /&gt;&lt;BR /&gt;Help.</description>
      <pubDate>Tue, 12 Sep 2000 22:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444897#M8990</guid>
      <dc:creator>Wilmar Ricio</dc:creator>
      <dc:date>2000-09-12T22:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: daily script to pull reports.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444898#M8991</link>
      <description>Wilmar:&lt;BR /&gt;&lt;BR /&gt;I think we need more information:&lt;BR /&gt;1. The reports, are they HTML?&lt;BR /&gt;2. What generates the reports?&lt;BR /&gt;3. Why are the reports generated to /tmp in the first place?  Why are they not installed in the httpd-default directory, directly.&lt;BR /&gt;&lt;BR /&gt;you could try someting like this: suppose your reports are called report-yyyy-mm-dd.html, you could have the following cron entry:&lt;BR /&gt;&lt;BR /&gt;0 03 * * * /bin/cp /tmp/report-*html /opt/ns-ftrack/docs-httpd-default &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2000 00:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444898#M8991</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-13T00:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: daily script to pull reports.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444899#M8992</link>
      <description>&lt;BR /&gt;We do a similar thing using Ignites wonderful print_manifest command, and then publish it on our Netscape fasttrack server on the intranet for users to view daily. On each server we run this cronjob/script (using a .netrc file to ftp automatically);&lt;BR /&gt;&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;#&lt;BR /&gt;# FTP Server Manifest and backup reports to orion Web Server &lt;BR /&gt;#&lt;BR /&gt;DATE=`date +%d%m%y`&lt;BR /&gt;MANIFEST_OUTPUT=`hostname`_manifest&lt;BR /&gt;DESTINATION_HOST=orion&lt;BR /&gt;DESTINATION_CONFIGDIR=/opt/ns-ftrack/docs-httpd-default/system_config&lt;BR /&gt;DESTINATION_BCKRPTS=/opt/ns-ftrack/docs-httpd-default/backup_reports/`hostname`&lt;BR /&gt;/opt/ignite/bin/print_manifest &amp;gt; /tmp/$MANIFEST_OUTPUT&lt;BR /&gt;ftp $DESTINATION_HOST &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;lcd /tmp&lt;BR /&gt;cd $DESTINATION_CONFIGDIR&lt;BR /&gt;put $MANIFEST_OUTPUT &lt;BR /&gt;cd $DESTINATION_BCKRPTS&lt;BR /&gt;put daily_backup.out daily_backup.out.$DATE&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;mv /tmp/daily_backup.out daily_backup.old&lt;BR /&gt;&lt;BR /&gt;And from anyones browser they can just type into the location; orion and this picks up the /opt/ns-ftrack/docs-httpd-default/index.html file which allows users to select backup reports or print_manifest output.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2000 08:50:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444899#M8992</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-09-13T08:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: daily script to pull reports.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444900#M8993</link>
      <description>how about something simple&lt;BR /&gt;&lt;BR /&gt;cd /location&lt;BR /&gt;mv xxxx /newplace/xxxx&lt;BR /&gt;mv yyyy /newplace/yyyy&lt;BR /&gt;&lt;BR /&gt;or for all files&lt;BR /&gt;cd /location &lt;BR /&gt;find . -depth -print|cpio -ocdumvB /newplace</description>
      <pubDate>Wed, 13 Sep 2000 20:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444900#M8993</guid>
      <dc:creator>Mark Mitchell</dc:creator>
      <dc:date>2000-09-13T20:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: daily script to pull reports.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444901#M8994</link>
      <description>sorry, it should be &lt;BR /&gt;find . -depth -print|cpio -ocdumvB &amp;gt; /newpl&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2000 13:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-script-to-pull-reports/m-p/2444901#M8994</guid>
      <dc:creator>Mark Mitchell</dc:creator>
      <dc:date>2000-09-14T13:49:16Z</dc:date>
    </item>
  </channel>
</rss>

