<?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 settings in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781080#M77231</link>
    <description>Thank's &lt;BR /&gt;I wrote the syntax wrong before.&lt;BR /&gt;Now It's working!&lt;BR /&gt;Thanks</description>
    <pubDate>Thu, 08 Aug 2002 09:38:31 GMT</pubDate>
    <dc:creator>Noa Harel_1</dc:creator>
    <dc:date>2002-08-08T09:38:31Z</dc:date>
    <item>
      <title>Cron settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781075#M77226</link>
      <description>Hi,&lt;BR /&gt;I want to prevent the cron from sending e-mail to the root users when ever activating a cron scheduled job.&lt;BR /&gt;Thanks guys</description>
      <pubDate>Wed, 07 Aug 2002 07:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781075#M77226</guid>
      <dc:creator>Noa Harel_1</dc:creator>
      <dc:date>2002-08-07T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cron settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781076#M77227</link>
      <description>Hi Noa,&lt;BR /&gt;&lt;BR /&gt;cron will mail any output to the user that invoked it, so you need to make sure your cronjob produces no output.  Either redirect the stdout + stderr to /dev/null or a log file on the cron line itself, or, if you're calling a script, within the script itself.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Wed, 07 Aug 2002 07:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781076#M77227</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2002-08-07T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cron settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781077#M77228</link>
      <description>You can redirect the output of the cronjob to /dev/null, i.e.&lt;BR /&gt;&lt;BR /&gt;m h D M W /some/cron/script &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;where m = minute, h-hour, D=day, M=month, W=days of week.  The 2&amp;gt;&amp;amp;1 will redirect stderr to stdout and &amp;gt;/dev/null will direct stdout to /dev/null.  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 07 Aug 2002 07:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781077#M77228</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2002-08-07T07:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cron settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781078#M77229</link>
      <description>Santosh has the answer. I was plagued by this as well.&lt;BR /&gt;Sample crontab entry -&lt;BR /&gt;  0      19      *       *       *       /opt/apps/jobprod/backup/jdaprod_splitb&lt;BR /&gt;&lt;BR /&gt;c/jdaprod_splitbc &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;BR /&gt;dl</description>
      <pubDate>Wed, 07 Aug 2002 14:23:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781078#M77229</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2002-08-07T14:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cron settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781079#M77230</link>
      <description>One other note: order is important.&lt;BR /&gt;&lt;BR /&gt;The correct order, as shown in earlier replies, is:&lt;BR /&gt;&lt;BR /&gt;   &amp;gt; /dev/null  2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;You must first redirect stdout, and THEN redirect stderr to stdout. Real easy to get it backwards, and then wonder why it doesn't work...&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 07 Aug 2002 14:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781079#M77230</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2002-08-07T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cron settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781080#M77231</link>
      <description>Thank's &lt;BR /&gt;I wrote the syntax wrong before.&lt;BR /&gt;Now It's working!&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 08 Aug 2002 09:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-settings/m-p/2781080#M77231</guid>
      <dc:creator>Noa Harel_1</dc:creator>
      <dc:date>2002-08-08T09:38:31Z</dc:date>
    </item>
  </channel>
</rss>

