<?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 output question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737938#M837313</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you don't want the output, redirect the STDOUT and STDERR to /dev/null in your cron job:&lt;BR /&gt;&lt;BR /&gt;00,15,30,45 * * * * /users/killproc &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;</description>
    <pubDate>Wed, 05 Jun 2002 06:52:36 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2002-06-05T06:52:36Z</dc:date>
    <item>
      <title>cron output question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737935#M837310</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Here is a part of my cron&lt;BR /&gt;&lt;BR /&gt;00,15,30,45 * * * * /users/killproc&lt;BR /&gt;&lt;BR /&gt;The script is ok&lt;BR /&gt;But when it's start the standard output go to root's mail .(lot of messages !!)&lt;BR /&gt;&lt;BR /&gt;Start of script:&lt;BR /&gt;# Killproc&lt;BR /&gt;. /users/explara/env/exploit.env   #env exploit&lt;BR /&gt;. /users/explara/env/cmxAP.env     # env cimix &lt;BR /&gt;#&lt;BR /&gt;FOUT=/users/explara/log/killproc.log&lt;BR /&gt;exec 1&amp;gt;$FOUT 2&amp;gt;&amp;amp;1&lt;BR /&gt;#&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jun 2002 06:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737935#M837310</guid>
      <dc:creator>iranzo</dc:creator>
      <dc:date>2002-06-05T06:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: cron output question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737936#M837311</link>
      <description>Hi Malosse,&lt;BR /&gt;&lt;BR /&gt;the standard output of cron is the mail account of the user, who started the job. If you don't want this, you have to redirect your output, for example into a logfile:&lt;BR /&gt;&lt;BR /&gt;00,15 * * * * /usr/killproc &amp;gt; /path_to_logfile/logfile 2&amp;gt;/path_to_errorfile/errorlogfile&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Wed, 05 Jun 2002 06:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737936#M837311</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-06-05T06:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: cron output question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737937#M837312</link>
      <description>You must to redirect the output of the script in crontab.&lt;BR /&gt;Otherwise, the standard output and error output is e-mailed to user.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jun 2002 06:48:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737937#M837312</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2002-06-05T06:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: cron output question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737938#M837313</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you don't want the output, redirect the STDOUT and STDERR to /dev/null in your cron job:&lt;BR /&gt;&lt;BR /&gt;00,15,30,45 * * * * /users/killproc &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jun 2002 06:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-output-question/m-p/2737938#M837313</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-06-05T06:52:36Z</dc:date>
    </item>
  </channel>
</rss>

