<?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 Job in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601245#M741849</link>
    <description>Mehul,&lt;BR /&gt;&lt;BR /&gt;The below may help you as well&lt;BR /&gt;&lt;BR /&gt;# 00 00 * * * /usr/local/scripts/cronscript&lt;BR /&gt;# | | | | | |&lt;BR /&gt;# | | | | | script to run&lt;BR /&gt;# | | | | +---------- month&lt;BR /&gt;# | | | +------------ day&lt;BR /&gt;# | | +-------------- day of the week 0-6, 0 = sunday, 1-5 = mon to fri&lt;BR /&gt;# | +----------------- hour of the day 00 to 23&lt;BR /&gt;# +-------------------- minute 00 to 59&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Himanshu</description>
    <pubDate>Fri, 12 Aug 2005 03:47:05 GMT</pubDate>
    <dc:creator>Himanshu_3</dc:creator>
    <dc:date>2005-08-12T03:47:05Z</dc:date>
    <item>
      <title>Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601239#M741843</link>
      <description>I would like to cron a job say /home/oracle/shutdown.sql after every two days.I am aware of the format but I am going to implement it on first time.&lt;BR /&gt;&lt;BR /&gt;Pl. guide me in this regard.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mehul&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Aug 2005 01:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601239#M741843</guid>
      <dc:creator>mehul_3</dc:creator>
      <dc:date>2005-08-11T01:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601240#M741844</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Attached a typical format that i am used to.&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Aug 2005 01:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601240#M741844</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-08-11T01:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601241#M741845</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;sorry forgot the attachment.&lt;BR /&gt;&lt;BR /&gt;note that i am here using root user to schedule the job using cron, you can alternatively use the Oracle User itself.&lt;BR /&gt;&lt;BR /&gt;if you need any further hep, let us know.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 11 Aug 2005 01:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601241#M741845</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-08-11T01:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601242#M741846</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;if you need additional help on how to configure or give appropriate permissions for cron, please refer to the following url:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939316" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939316&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or man crontab&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Aug 2005 01:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601242#M741846</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-08-11T01:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601243#M741847</link>
      <description>You can try as,&lt;BR /&gt;&lt;BR /&gt;# Minue Hour monthday month weekday &lt;COMMAND&gt;&lt;BR /&gt;   30       12       *           *          *  /home/oracle/shutdown.sql 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;If /home/oracle/shutdown.sql is a shell script then put code in the begin as,&lt;BR /&gt;&lt;BR /&gt;if [[ $((`date +'%m'`%2)) -ne 0 ]]&lt;BR /&gt;then&lt;BR /&gt;  echo "No need to execute it&lt;BR /&gt;  exit 0&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;else put this in a script and execute /home/oracle/shutdown.sql from this script.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;/COMMAND&gt;</description>
      <pubDate>Thu, 11 Aug 2005 02:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601243#M741847</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-08-11T02:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601244#M741848</link>
      <description>You can type 'man crontab' to see usage and parameter.&lt;BR /&gt;&lt;BR /&gt;Art</description>
      <pubDate>Fri, 12 Aug 2005 03:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601244#M741848</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2005-08-12T03:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601245#M741849</link>
      <description>Mehul,&lt;BR /&gt;&lt;BR /&gt;The below may help you as well&lt;BR /&gt;&lt;BR /&gt;# 00 00 * * * /usr/local/scripts/cronscript&lt;BR /&gt;# | | | | | |&lt;BR /&gt;# | | | | | script to run&lt;BR /&gt;# | | | | +---------- month&lt;BR /&gt;# | | | +------------ day&lt;BR /&gt;# | | +-------------- day of the week 0-6, 0 = sunday, 1-5 = mon to fri&lt;BR /&gt;# | +----------------- hour of the day 00 to 23&lt;BR /&gt;# +-------------------- minute 00 to 59&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Himanshu</description>
      <pubDate>Fri, 12 Aug 2005 03:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/3601245#M741849</guid>
      <dc:creator>Himanshu_3</dc:creator>
      <dc:date>2005-08-12T03:47:05Z</dc:date>
    </item>
  </channel>
</rss>

