<?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: at output redirection in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660641#M929040</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One possibility is to use a different form of at...&lt;BR /&gt;&lt;BR /&gt;at &lt;TIME&gt; &amp;lt;&amp;lt; EOD&lt;BR /&gt;fileOfb &amp;gt; logfile 2&amp;gt;&amp;amp;1&lt;BR /&gt;EOD&lt;BR /&gt;&lt;BR /&gt;Note that the command 'batch' is equivalent to 'at now'.&lt;BR /&gt;&lt;BR /&gt;In the above example if you didn't want any output from fileOfb then you could substitute /dev/null as logfile.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/TIME&gt;</description>
    <pubDate>Thu, 07 Feb 2002 13:21:48 GMT</pubDate>
    <dc:creator>John Palmer</dc:creator>
    <dc:date>2002-02-07T13:21:48Z</dc:date>
    <item>
      <title>at output redirection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660639#M929038</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;I have a shell script a in which I launch another script b with the command &lt;BR /&gt;at -f filenameOfb now &lt;BR /&gt;&lt;BR /&gt;How can I prevent the system from sending all output from the other script as an email to the user ? &lt;BR /&gt;I don't want to add redirection statements at the end of each script statement in b. &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;Franky Leeuwerck</description>
      <pubDate>Thu, 07 Feb 2002 13:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660639#M929038</guid>
      <dc:creator>Franky Leeuwerck</dc:creator>
      <dc:date>2002-02-07T13:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: at output redirection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660640#M929039</link>
      <description>Initialy my question was wrongly submitted in the networking category.&lt;BR /&gt;&lt;BR /&gt;I got the solution from Andreas Voss :&lt;BR /&gt;&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;to generally redirect all output withiun a script add a line at the top ie: &lt;BR /&gt;&lt;BR /&gt;exec &amp;gt;/tmp/logfile 2&amp;gt;&amp;amp;1 &lt;BR /&gt;&lt;BR /&gt;this will redirect all stdout/stderr to /tmp/logfile &lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Andreas Voss</description>
      <pubDate>Thu, 07 Feb 2002 13:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660640#M929039</guid>
      <dc:creator>Franky Leeuwerck</dc:creator>
      <dc:date>2002-02-07T13:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: at output redirection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660641#M929040</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One possibility is to use a different form of at...&lt;BR /&gt;&lt;BR /&gt;at &lt;TIME&gt; &amp;lt;&amp;lt; EOD&lt;BR /&gt;fileOfb &amp;gt; logfile 2&amp;gt;&amp;amp;1&lt;BR /&gt;EOD&lt;BR /&gt;&lt;BR /&gt;Note that the command 'batch' is equivalent to 'at now'.&lt;BR /&gt;&lt;BR /&gt;In the above example if you didn't want any output from fileOfb then you could substitute /dev/null as logfile.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/TIME&gt;</description>
      <pubDate>Thu, 07 Feb 2002 13:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-output-redirection/m-p/2660641#M929040</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-02-07T13:21:48Z</dc:date>
    </item>
  </channel>
</rss>

