<?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: crontab question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089670#M7053</link>
    <description>Hi,&lt;BR /&gt;00 08 * * * /scripts/fs_check3.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;  This is a crontab entry which runs everyday at 8am and I redirected whatever the output and the error to null. Inside the script I have a mailx command which sends me mail whenever the failure occurs.&lt;BR /&gt;&lt;BR /&gt;Do a&lt;BR /&gt;# crontab -e&lt;BR /&gt;Edit your script line and add the entry  &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 at the end of the line.&lt;BR /&gt; You mar redirect to a temp file also for your future reference.&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Oct 2003 02:43:37 GMT</pubDate>
    <dc:creator>V.Tamilvanan</dc:creator>
    <dc:date>2003-10-10T02:43:37Z</dc:date>
    <item>
      <title>crontab question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089665#M7048</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i have a job in the crontab that is running every 5 minutes.  The problem is that it sending an email to root everytime.  Is there a way to deactivate it?  I want to keep having an email send to root for my backups but not for this job.  &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Thu, 09 Oct 2003 11:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089665#M7048</guid>
      <dc:creator>Patrice Blanchard_2</dc:creator>
      <dc:date>2003-10-09T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: crontab question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089666#M7049</link>
      <description>edit /etc/crontab and delete the line MAILTO=root&lt;BR /&gt;then add this line to a specific cront job</description>
      <pubDate>Thu, 09 Oct 2003 11:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089666#M7049</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-10-09T11:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: crontab question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089667#M7050</link>
      <description>run the following command as root to look at the content of root contab&lt;BR /&gt; &lt;BR /&gt;#crontab -l&lt;BR /&gt; &lt;BR /&gt;To modify the crontab entry so it stop sending mail each time it runs, that is if this is part of the contab entry.&lt;BR /&gt; &lt;BR /&gt;# crontab -e&lt;BR /&gt;&lt;BR /&gt;If the mail is send from the within the script, modify the script.&lt;BR /&gt;&lt;BR /&gt;If this does not help attach you crontab and or the content of the invoked script, so whe can help you futher.&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Oct 2003 11:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089667#M7050</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-09T11:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: crontab question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089668#M7051</link>
      <description>actually, i'm doing a mailx in the script if the process i'm checking every 5 minutes is not running.  But i do have another process (running every 30 minutes) that does not have a mailx in it but sends an email to root when it ran.</description>
      <pubDate>Thu, 09 Oct 2003 11:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089668#M7051</guid>
      <dc:creator>Patrice Blanchard_2</dc:creator>
      <dc:date>2003-10-09T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: crontab question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089669#M7052</link>
      <description>&lt;BR /&gt;what does the mail contain. how about redirecting the standard error and output to a different file.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 09 Oct 2003 12:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089669#M7052</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-10-09T12:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: crontab question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089670#M7053</link>
      <description>Hi,&lt;BR /&gt;00 08 * * * /scripts/fs_check3.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;  This is a crontab entry which runs everyday at 8am and I redirected whatever the output and the error to null. Inside the script I have a mailx command which sends me mail whenever the failure occurs.&lt;BR /&gt;&lt;BR /&gt;Do a&lt;BR /&gt;# crontab -e&lt;BR /&gt;Edit your script line and add the entry  &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 at the end of the line.&lt;BR /&gt; You mar redirect to a temp file also for your future reference.&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Oct 2003 02:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab-question/m-p/3089670#M7053</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-10-10T02:43:37Z</dc:date>
    </item>
  </channel>
</rss>

