<?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: Email when a script is executed. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556450#M28804</link>
    <description>Are you wanting to email when a specific script is executed, or any on the system?  If it's a specific script, try doing a for loop through a ps -ef, grepping for the text you want, then use :&lt;BR /&gt;echo "script was executed" | mailx -s 'Someone has used your script' user@mail.domain.com&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Brian</description>
    <pubDate>Wed, 25 Jul 2001 00:39:01 GMT</pubDate>
    <dc:creator>Brian Markus</dc:creator>
    <dc:date>2001-07-25T00:39:01Z</dc:date>
    <item>
      <title>Email when a script is executed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556449#M28803</link>
      <description />
      <pubDate>Tue, 24 Jul 2001 15:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556449#M28803</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-07-24T15:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Email when a script is executed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556450#M28804</link>
      <description>Are you wanting to email when a specific script is executed, or any on the system?  If it's a specific script, try doing a for loop through a ps -ef, grepping for the text you want, then use :&lt;BR /&gt;echo "script was executed" | mailx -s 'Someone has used your script' user@mail.domain.com&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 25 Jul 2001 00:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556450#M28804</guid>
      <dc:creator>Brian Markus</dc:creator>
      <dc:date>2001-07-25T00:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Email when a script is executed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556451#M28805</link>
      <description>It works when I put a user in destination of the email but I?m having trouble when trying to send to my Lotus Notes email. Supose my domain is testdomain and my user is user1 ,I have to do as follow ?&lt;BR /&gt;echo 'Test' | mailx -s 'Subject Test' user1@mail.testdomain.com&lt;BR /&gt;&lt;BR /&gt;Cheers, Mauro</description>
      <pubDate>Wed, 25 Jul 2001 12:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556451#M28805</guid>
      <dc:creator>Mauro_3</dc:creator>
      <dc:date>2001-07-25T12:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Email when a script is executed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556452#M28806</link>
      <description>If your Mail Domain name is testdomain.com and the username in that domain is rick then your email address of testdomain will be rick@testdomain.com&lt;BR /&gt; So,&lt;BR /&gt;echo "Mail testing" | mailx -s "Mail from UNIX" rick@testdomain.com</description>
      <pubDate>Wed, 25 Jul 2001 15:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-when-a-script-is-executed/m-p/2556452#M28806</guid>
      <dc:creator>Zafar A. Mohammed</dc:creator>
      <dc:date>2001-07-25T15:49:53Z</dc:date>
    </item>
  </channel>
</rss>

