<?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: how send cron job logs to gmail id? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584726#M60520</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Try this script.&lt;BR /&gt;&lt;A href="http://www.hpux.ws/mailfile2" target="_blank"&gt;http://www.hpux.ws/mailfile2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Alter the darned thing so it doesn't send me mail.&lt;BR /&gt;&lt;BR /&gt;Again note that gmail might eat your mail if a lot of details are not lined up.&lt;BR /&gt;&lt;BR /&gt;Also, some companies have a policy against this kind of data being sent to gmail, so make sure you are good with regards to data security policy.&lt;BR /&gt;&lt;BR /&gt;If you think this message has been helpful, please assign points. I collect them. Kind of like stamps.&lt;BR /&gt;&lt;BR /&gt;No electrons were harmed in the creation of this post.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 16 Feb 2010 16:08:24 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2010-02-16T16:08:24Z</dc:date>
    <item>
      <title>how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584722#M60516</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   How to send cron job logs to gmail id from Linux server? I am using RHEL 4AS.&lt;BR /&gt;&lt;BR /&gt;Please help &lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Tue, 16 Feb 2010 14:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584722#M60516</guid>
      <dc:creator>friend_1</dc:creator>
      <dc:date>2010-02-16T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584723#M60517</link>
      <description>You can:&lt;BR /&gt;&lt;BR /&gt;-Create a .forward file on the home directory of the user running the cron job. That file should contain the addresses you want to forward mail to (that will forward all of that user's incoming emails, though).&lt;BR /&gt;&lt;BR /&gt;-Use postfix (or similar) to compose and send mails from within the very cron job.</description>
      <pubDate>Tue, 16 Feb 2010 14:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584723#M60517</guid>
      <dc:creator>J. Maestre</dc:creator>
      <dc:date>2010-02-16T14:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584724#M60518</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;In crontab&lt;BR /&gt;&lt;BR /&gt;&lt;SCHEDULE times=""&gt; script | mail -s "Batch job" youraccount@gmail.com&lt;BR /&gt;&lt;BR /&gt;Your system must be able to deliver mail directly to the Internet or be configured to a relay server.&lt;BR /&gt;&lt;BR /&gt;Mail to most services like gmail requires the mail originate at a fixed IP address and the domain name in the email address and server IP address be verifiable by DNS lookup.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/SCHEDULE&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584724#M60518</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-02-16T15:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584725#M60519</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; How to configuare to send logs to gmail?&lt;BR /&gt;&lt;BR /&gt;Thnaks,</description>
      <pubDate>Tue, 16 Feb 2010 15:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584725#M60519</guid>
      <dc:creator>friend_1</dc:creator>
      <dc:date>2010-02-16T15:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584726#M60520</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Try this script.&lt;BR /&gt;&lt;A href="http://www.hpux.ws/mailfile2" target="_blank"&gt;http://www.hpux.ws/mailfile2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Alter the darned thing so it doesn't send me mail.&lt;BR /&gt;&lt;BR /&gt;Again note that gmail might eat your mail if a lot of details are not lined up.&lt;BR /&gt;&lt;BR /&gt;Also, some companies have a policy against this kind of data being sent to gmail, so make sure you are good with regards to data security policy.&lt;BR /&gt;&lt;BR /&gt;If you think this message has been helpful, please assign points. I collect them. Kind of like stamps.&lt;BR /&gt;&lt;BR /&gt;No electrons were harmed in the creation of this post.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 16 Feb 2010 16:08:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584726#M60520</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-02-16T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584727#M60521</link>
      <description>If your system has connectivity with external world you just mail to type&lt;BR /&gt;&lt;BR /&gt;mail -s subject abc@pqr.com &amp;lt; file name&lt;BR /&gt;&lt;BR /&gt;this would sent content to specified account.&lt;BR /&gt;As said above gmail is not a good idea from security, so keep it in mind.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Wed, 17 Feb 2010 08:04:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584727#M60521</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-02-17T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: how send cron job logs to gmail id?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584728#M60522</link>
      <description>Cron has this feature inbuilt. On top of the crontab file assign the MAILTO variable as follows&lt;BR /&gt;&lt;BR /&gt;MAILTO=yourgmail@gmail.com&lt;BR /&gt;&lt;BR /&gt;By default it uses local smtp server, not sure if gmail policies will allow them to accept mail from your IP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Mar 2010 10:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-send-cron-job-logs-to-gmail-id/m-p/4584728#M60522</guid>
      <dc:creator>Logu_2</dc:creator>
      <dc:date>2010-03-19T10:10:34Z</dc:date>
    </item>
  </channel>
</rss>

