<?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: run schedule batch file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201676#M463546</link>
    <description>From crontab(1):&lt;BR /&gt;minute  hour  monthday  month  weekday  command&lt;BR /&gt;00 00 01 * * command # first of month&lt;BR /&gt;00 00 * * 0 command # every sunday&lt;BR /&gt;&lt;BR /&gt;Just adjust the MM, HH, MD and WD fields and desired.</description>
    <pubDate>Thu, 01 Oct 2009 07:32:09 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-10-01T07:32:09Z</dc:date>
    <item>
      <title>run schedule batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201675#M463545</link>
      <description>hi there&lt;BR /&gt;&lt;BR /&gt;i have hp-ux 11i v1 and i want to run batch file in my OS every 1 month and another batch file  every  week . but i dont know how to do that &lt;BR /&gt;any help please&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Thu, 01 Oct 2009 07:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201675#M463545</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2009-10-01T07:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: run schedule batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201676#M463546</link>
      <description>From crontab(1):&lt;BR /&gt;minute  hour  monthday  month  weekday  command&lt;BR /&gt;00 00 01 * * command # first of month&lt;BR /&gt;00 00 * * 0 command # every sunday&lt;BR /&gt;&lt;BR /&gt;Just adjust the MM, HH, MD and WD fields and desired.</description>
      <pubDate>Thu, 01 Oct 2009 07:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201676#M463546</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-01T07:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: run schedule batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201677#M463547</link>
      <description>Tareg,&lt;BR /&gt;&lt;BR /&gt;If you want to run the batch using root privilege: &lt;BR /&gt;&lt;BR /&gt;1. Login to root.&lt;BR /&gt;2. Keep a backup using # crontab -l &amp;gt; crontab.orig&lt;BR /&gt;3. Use #crontab -e    [ To edit crontab ]&lt;BR /&gt;&lt;BR /&gt;4. Add the below entry with the batch script name &amp;amp; path,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;00 00 01 * *  /home/user/batch1 # 1st of Every Month, midnight.&lt;BR /&gt;00 00 * * 1   /home/user/batch2 # Every Sunday midnight.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5. Save with :wq! &lt;BR /&gt;6. Veryfy with : # crontab -l &lt;BR /&gt;7. Wait for execution on schedule date and check...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;________________________________________&lt;BR /&gt;FYI: &lt;BR /&gt;first 5 entry in cron represents as below:&lt;BR /&gt;- minute (0-59),&lt;BR /&gt;- hour (0-23),&lt;BR /&gt;- day of the month (1-31),&lt;BR /&gt;- month of the year (1-12),&lt;BR /&gt;- day of the week (0-6 with 0=Sunday).&lt;BR /&gt;&lt;BR /&gt;* more : # man crontab&lt;BR /&gt;_________________________________________&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Oct 2009 07:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201677#M463547</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-01T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: run schedule batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201678#M463548</link>
      <description>thanks for help&lt;BR /&gt;but now i face problem in makeing my batch file my batch file is oracle sql command.&lt;BR /&gt;what i need &lt;BR /&gt;1. login to oracle user&lt;BR /&gt;2. run sqlplus &lt;BR /&gt;3. run the sql command&lt;BR /&gt;how i can collect these steps in batch file and shedule this file.&lt;BR /&gt;please find the attached file its contain the sql comman.&lt;BR /&gt;any help please.&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 01 Oct 2009 12:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201678#M463548</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2009-10-01T12:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: run schedule batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201679#M463549</link>
      <description>You can run this with su command.&lt;BR /&gt;Ex: # su - oracle -c command_file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201679#M463549</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-01T12:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: run schedule batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201680#M463550</link>
      <description>thank for help i will do that</description>
      <pubDate>Sat, 03 Oct 2009 04:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-schedule-batch-file/m-p/5201680#M463550</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2009-10-03T04:55:09Z</dc:date>
    </item>
  </channel>
</rss>

