<?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 cron and sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944944#M114458</link>
    <description>Greetings all,&lt;BR /&gt;I need your help please. How do i get started with scheduling a job using crontab? Also I would like to have the output of the job to be sent to my outlook mailbox. So how do i set up mail in HP-UX.&lt;BR /&gt;Thanks for your kind response.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Nago</description>
    <pubDate>Mon, 07 Apr 2003 09:21:24 GMT</pubDate>
    <dc:creator>Nago</dc:creator>
    <dc:date>2003-04-07T09:21:24Z</dc:date>
    <item>
      <title>cron and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944944#M114458</link>
      <description>Greetings all,&lt;BR /&gt;I need your help please. How do i get started with scheduling a job using crontab? Also I would like to have the output of the job to be sent to my outlook mailbox. So how do i set up mail in HP-UX.&lt;BR /&gt;Thanks for your kind response.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Nago</description>
      <pubDate>Mon, 07 Apr 2003 09:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944944#M114458</guid>
      <dc:creator>Nago</dc:creator>
      <dc:date>2003-04-07T09:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: cron and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944945#M114459</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;first i would suggest you to read the man pages for crontab. also get a good sysadmin book and read.&lt;BR /&gt;&lt;BR /&gt;now for your question.&lt;BR /&gt;&lt;BR /&gt;1. edit crontab&lt;BR /&gt;crontab -e&lt;BR /&gt;&lt;BR /&gt;2. add entry for your scheduled job. create a script which contains your job and &lt;BR /&gt;add it. It contains six fields the time related fields in the order (copy paste frm man page) are given below. the sixth field is the absolute path to your script.&lt;BR /&gt;&lt;BR /&gt;++++++++++++++&lt;BR /&gt;The time and date fields are:&lt;BR /&gt;&lt;BR /&gt;              field          allowed values&lt;BR /&gt;              -----          --------------&lt;BR /&gt;              minute         0-59&lt;BR /&gt;              hour           0-23&lt;BR /&gt;              day of month   1-31&lt;BR /&gt;              month          1-12 (or names, see below)&lt;BR /&gt;              day of week    0-7 (0 or 7 is Sun, or use names)&lt;BR /&gt;&lt;BR /&gt;       A field may be an asterisk (*), which always stands for ``first-last''.&lt;BR /&gt;++++++++++++&lt;BR /&gt;&lt;BR /&gt;3. as a part of your script itself you can redirect your output to a mail id or pipe the output in the crontab to mail.&lt;BR /&gt;&lt;BR /&gt;4. setup sendmail to relay all mails to your mail server. this is done by changing the entry which contains the macro  DS in /etc/sendmail.cf file to the ip address or hostname of your mail server.&lt;BR /&gt;&lt;BR /&gt;DS&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;DSmailserver.name.com&lt;BR /&gt;&lt;BR /&gt;5. restart sendmail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you need more info, revert with specifics.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2003 09:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944945#M114459</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-07T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: cron and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944946#M114460</link>
      <description>Hi Nago&lt;BR /&gt;&lt;BR /&gt;Happy reading&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90681/00/00/49-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90681/00/00/49-toc.html&amp;amp;searchterms=cron&amp;amp;queryid=20030407-043532" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90681/00/00/49-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90681/00/00/49-toc.html&amp;amp;searchterms=cron&amp;amp;queryid=20030407-043532&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 07 Apr 2003 09:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-sendmail/m-p/2944946#M114460</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-04-07T09:37:32Z</dc:date>
    </item>
  </channel>
</rss>

