<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539179#M916239</link>
    <description>I've actually tried that and it doesn't seem to be working.  Perhaps my syntax is wrong?  Here is the entry:&lt;BR /&gt;&lt;BR /&gt;15,30,45,00 * * * * /opt/sysadm/bin/check_printer atlpsih8k1 2&amp;gt;&amp;amp;1 /dev/null&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Eric</description>
    <pubDate>Mon, 11 Jun 2001 21:27:14 GMT</pubDate>
    <dc:creator>Eric Harvill_1</dc:creator>
    <dc:date>2001-06-11T21:27:14Z</dc:date>
    <item>
      <title>cron question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539176#M916236</link>
      <description>Is there a way to prevent a single cron entry from sending an email whenever it completes?  Thanks...&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 11 Jun 2001 20:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539176#M916236</guid>
      <dc:creator>Eric Harvill_1</dc:creator>
      <dc:date>2001-06-11T20:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: cron question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539177#M916237</link>
      <description>redirect the output to file or then use mailx to send it as a e-mail. Or write a script to do cron job and send e-mail after competion of job</description>
      <pubDate>Mon, 11 Jun 2001 21:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539177#M916237</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-06-11T21:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: cron question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539178#M916238</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;The easist thing to do is redirect your scrit's  stdout and stderr to /dev/null.</description>
      <pubDate>Mon, 11 Jun 2001 21:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539178#M916238</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-06-11T21:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: cron question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539179#M916239</link>
      <description>I've actually tried that and it doesn't seem to be working.  Perhaps my syntax is wrong?  Here is the entry:&lt;BR /&gt;&lt;BR /&gt;15,30,45,00 * * * * /opt/sysadm/bin/check_printer atlpsih8k1 2&amp;gt;&amp;amp;1 /dev/null&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 11 Jun 2001 21:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539179#M916239</guid>
      <dc:creator>Eric Harvill_1</dc:creator>
      <dc:date>2001-06-11T21:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: cron question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539180#M916240</link>
      <description>Not wuite the correct syntax to redirect all output to /dev/null.  The correct syntax is to first redirect stdout and then assign stderr to stdout:&lt;BR /&gt;&lt;BR /&gt;...check_printer atlpsih8k1 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;It must be in that order as the shell assigns things as it parses them, left to right.  2&amp;gt;&amp;amp;1 followed by &amp;gt; /dev/null means that stderr would be assigned to whatever stdout was, and then stdout is assigned /dev/null (stderr is still assigned to the original output file).</description>
      <pubDate>Mon, 11 Jun 2001 23:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539180#M916240</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-06-11T23:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: cron question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539181#M916241</link>
      <description>&lt;BR /&gt;Bill, thank you for the correct syntax.</description>
      <pubDate>Wed, 13 Jun 2001 00:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/2539181#M916241</guid>
      <dc:creator>Eric Harvill_1</dc:creator>
      <dc:date>2001-06-13T00:56:34Z</dc:date>
    </item>
  </channel>
</rss>

