<?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: elm standard error/output from script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626894#M40142</link>
    <description>HI&lt;BR /&gt;The following command will send the log file as attachment in email.&lt;BR /&gt;For multiple people to receive it use mail aliases by defining it in /etc/mail/aliases file.&lt;BR /&gt;&lt;BR /&gt;#/usr/bin/uuencode &lt;LOGFILE&gt; &lt;LOGFILE&gt; |mailx -m -s &lt;SUBJECT for="" email=""&gt; &lt;RECEIVERS email="" id=""&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.&lt;BR /&gt;&lt;/RECEIVERS&gt;&lt;/SUBJECT&gt;&lt;/LOGFILE&gt;&lt;/LOGFILE&gt;</description>
    <pubDate>Thu, 06 Dec 2001 17:05:55 GMT</pubDate>
    <dc:creator>Deshpande Prashant</dc:creator>
    <dc:date>2001-12-06T17:05:55Z</dc:date>
    <item>
      <title>elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626886#M40134</link>
      <description>hpux 11i 64bit&lt;BR /&gt;&lt;BR /&gt;I have a cron'd backup script that backs up some files as root then emails the log to a couple of people - &lt;BR /&gt;here is what i get back from cron:&lt;BR /&gt;&amp;amp;f1k16d-1L                &amp;amp;f2k16d-1L                &amp;amp;f3k16d-1L                &amp;amp;f4k16d-1L                &amp;amp;f5k16d-1L                &amp;amp;f6k16d-1L                &amp;amp;f7k16d-1L                &amp;amp;f8k7d1L Cancel&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;f1k16d-1L                &amp;amp;f2k16d-1L                &amp;amp;f3k16d-1L                &amp;amp;f4k16d-1L                &amp;amp;f5k16d-1L                &amp;amp;f6k16d-1L                &amp;amp;f7k16d-1L                &amp;amp;f8k7d1L Cancel&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;f1k14d1L Display   Msg&amp;amp;f2k14d1L  Mail     Msgm&amp;amp;f3k15d1L  Reply  to Msgr&amp;amp;f4k14d1L  Save     Msgs&amp;amp;f5k14d1L Delete    Msgd&amp;amp;f6k14d1LUndelete   Msgu&amp;amp;f7k14d1L Print     Msgp&amp;amp;f8k14d1L  Quit     ELMq&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;s0A&amp;amp;j@&amp;amp;f1k16d-1L                &amp;amp;f2k16d-1L                &amp;amp;f3k16d-1L                &amp;amp;f4k16d-1L                &amp;amp;f5k16d-1L                &amp;amp;f6k16d-1L                &amp;amp;f7k16d-1L                &amp;amp;f8k7d1L Cancel&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;f1k16d-1L                &amp;amp;f2k16d-1L                &amp;amp;f3k16d-1L                &amp;amp;f4k16d-1L      !&lt;BR /&gt;          &amp;amp;f5k16d-1L                &amp;amp;f6k16d-1L                &amp;amp;f7k16d-1L                &amp;amp;f8k7d1L Cancel&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;f1k14d1L Display   Msg&amp;amp;f2k14d1L  Mail     Msgm&amp;amp;f3k15d1L  Reply  to Msgr&amp;amp;f4k14d1L  Save     Msgs&amp;amp;f5k14d1L Delete    Msgd&amp;amp;f6k14d1LUndelete   Msgu&amp;amp;f7k14d1L Print     Msgp&amp;amp;f8k14d1L  Quit     ELMq&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;s1A&amp;amp;jB&amp;amp;jR&amp;amp;s0A&amp;amp;j@&lt;BR /&gt;&lt;BR /&gt;*************************************************&lt;BR /&gt;Cron: The previous message is the standard output&lt;BR /&gt;      and standard error of one of your crontab commands:&lt;BR /&gt;&lt;BR /&gt;/usr/glsbin/filebu.sh &lt;BR /&gt;&lt;BR /&gt;this looks like the standard elm menu, so I am assuming that is where the problem is - anyone have any thoughts on why I'm getting this?  this is the elm command at the end of the script:&lt;BR /&gt;for names in $mailist&lt;BR /&gt;do&lt;BR /&gt;  cat $bklog | elm -s "File Archive $host" $names &amp;gt;/dev/null&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Thanks, Nick</description>
      <pubDate>Thu, 06 Dec 2001 16:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626886#M40134</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2001-12-06T16:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626887#M40135</link>
      <description>Try ..&lt;BR /&gt;elm -s "File Archive $host" $names &amp;lt; $bklog&lt;BR /&gt;instead&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Dec 2001 16:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626887#M40135</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-12-06T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626888#M40136</link>
      <description>Try this format instead.&lt;BR /&gt;&lt;BR /&gt;elm -s "Suject" user@domain.com &amp;lt; filename&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Thu, 06 Dec 2001 16:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626888#M40136</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-06T16:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626889#M40137</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Try using mailx instead of elm..&lt;BR /&gt;&lt;BR /&gt;mailx -s "subject here" alias list &amp;lt; $logfile.&lt;BR /&gt;&lt;BR /&gt;aliaslist would be the list of users who should get this mail and can be configures in /etc/mail aliases file&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;-USA..</description>
      <pubDate>Thu, 06 Dec 2001 16:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626889#M40137</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-06T16:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626890#M40138</link>
      <description>thanks - ill try redirecting the other way a try.  Nick</description>
      <pubDate>Thu, 06 Dec 2001 16:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626890#M40138</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2001-12-06T16:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626891#M40139</link>
      <description>If you are running elm in a non-interactive environment, you must first create a .elm directory in the sender's home directory. It can be an empty directory but should have 700 permissions. Just to be safe, I would also create a 'Mail' directory with 700 permissions as well. Of course, all the other precautions apply as well. Make sure that every command in&lt;BR /&gt;your script under cron either is fully pathed or that PATH is properly set.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Dec 2001 16:45:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626891#M40139</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-12-06T16:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626892#M40140</link>
      <description>the mail directory exists and has the proper permissions.  the funny thing is, this script worked fine on 10.20 32 bit (dont know if the sendmail version changed or not, or elm for that matter with 11i), so that's why I'm a bit perplexed.  thanks for the replys, I'll let you know how it turns out.</description>
      <pubDate>Thu, 06 Dec 2001 16:49:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626892#M40140</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2001-12-06T16:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626893#M40141</link>
      <description>the .elm directory also exists, and the file permissions are correct - sorry forgot to mention that (must be first post jitters i guess)</description>
      <pubDate>Thu, 06 Dec 2001 16:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626893#M40141</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2001-12-06T16:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626894#M40142</link>
      <description>HI&lt;BR /&gt;The following command will send the log file as attachment in email.&lt;BR /&gt;For multiple people to receive it use mail aliases by defining it in /etc/mail/aliases file.&lt;BR /&gt;&lt;BR /&gt;#/usr/bin/uuencode &lt;LOGFILE&gt; &lt;LOGFILE&gt; |mailx -m -s &lt;SUBJECT for="" email=""&gt; &lt;RECEIVERS email="" id=""&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.&lt;BR /&gt;&lt;/RECEIVERS&gt;&lt;/SUBJECT&gt;&lt;/LOGFILE&gt;&lt;/LOGFILE&gt;</description>
      <pubDate>Thu, 06 Dec 2001 17:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626894#M40142</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-12-06T17:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: elm standard error/output from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626895#M40143</link>
      <description>well, redirection the other way didnt work (&amp;lt;), but mailx worked just fine - thanks for the responses, Nick</description>
      <pubDate>Tue, 11 Dec 2001 13:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/elm-standard-error-output-from-script/m-p/2626895#M40143</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2001-12-11T13:41:59Z</dc:date>
    </item>
  </channel>
</rss>

