<?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: To schedule a job every 2.30 hours interval through crontab... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741496#M256222</link>
    <description>Pete,&lt;BR /&gt;whether 'at'(your suggestion) will run every 2.3 hours interval automatically? Or I have to submit the job manually at every specified interval ?</description>
    <pubDate>Wed, 01 Mar 2006 07:19:18 GMT</pubDate>
    <dc:creator>Deepu Chakravarty</dc:creator>
    <dc:date>2006-03-01T07:19:18Z</dc:date>
    <item>
      <title>To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741489#M256215</link>
      <description>Is there any possibility to schedule a job through crontab which runs every two and half hours interval?  Other parameters no problem.&lt;BR /&gt;If yes, How?</description>
      <pubDate>Wed, 01 Mar 2006 05:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741489#M256215</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-03-01T05:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741490#M256216</link>
      <description>Deepu,&lt;BR /&gt;this is easier done with the at command.&lt;BR /&gt;man at</description>
      <pubDate>Wed, 01 Mar 2006 05:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741490#M256216</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-01T05:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741491#M256217</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;It is not possible. For this to achive you can schedule more than jobs. Scheduling two shall be enough.&lt;BR /&gt;&lt;BR /&gt;at will not work as this will execute the job only once.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Wed, 01 Mar 2006 05:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741491#M256217</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-03-01T05:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741492#M256218</link>
      <description>Hi Deepu,&lt;BR /&gt;&lt;BR /&gt;     You cannot acheive a cyclic run with a time interval of 2 1/2 hours with cron. That would be possible with enterprise Job scheduler like BMC's Control M product etc...&lt;BR /&gt;&lt;BR /&gt;     If you want to run a script/command every 2 1/2 hours.. just write a script to run the program with sleep command.say u want to run /usr/bin/ls every 2 1/2 hours.. then my ksh script will look like..&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;/usr/bin/ls&lt;BR /&gt;sleep 9000&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt; When u run this script, it will run "ls" command indefinitely with a interval gap of 2 1/2 hours.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Kumar .A</description>
      <pubDate>Wed, 01 Mar 2006 05:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741492#M256218</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-03-01T05:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741493#M256219</link>
      <description>Hi Senthil,&lt;BR /&gt;But I want run it through a schedule job.  So that manual intervention is not required.</description>
      <pubDate>Wed, 01 Mar 2006 05:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741493#M256219</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-03-01T05:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741494#M256220</link>
      <description>Make a script and enter it into at&lt;BR /&gt;&lt;BR /&gt;at now +150 minutes /full_path/myscript&lt;BR /&gt;&lt;BR /&gt;Make the last line in your script read like this:&lt;BR /&gt;&lt;BR /&gt;echo "/full_path/myscript" | at now + 150 minutes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 01 Mar 2006 06:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741494#M256220</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-03-01T06:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741495#M256221</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As indicated earlier schedule two jobs for doing the same function at an interval of every 5 hours for both of them and at a difference of 2 &amp;amp; half hours among both of them.&lt;BR /&gt;&lt;BR /&gt;crontab entry for such job should look like&lt;BR /&gt;&lt;BR /&gt;For first job&lt;BR /&gt;00 1,6,11,16,21 * * *&lt;BR /&gt;&lt;BR /&gt;For Second job&lt;BR /&gt;30 3,8,13,18,23 * * * /command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will achive your task but with one interval being of 1&amp;amp;half hours instead of 2&amp;amp; half. This can be avoided by making a few more jobs and reducing the frequency in these two.&lt;BR /&gt;&lt;BR /&gt;Other option as mentioned earlier can be used  by running the code in the background and using sleep function.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Wed, 01 Mar 2006 06:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741495#M256221</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-03-01T06:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741496#M256222</link>
      <description>Pete,&lt;BR /&gt;whether 'at'(your suggestion) will run every 2.3 hours interval automatically? Or I have to submit the job manually at every specified interval ?</description>
      <pubDate>Wed, 01 Mar 2006 07:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741496#M256222</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-03-01T07:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741497#M256223</link>
      <description>Deepu,&lt;BR /&gt;the at command will run 2.5 hours from the end of the previous job. No manual intervention is required, unless the job is killed. To start the job automatically at runtime, include in the /etc/rc3.d level.</description>
      <pubDate>Wed, 01 Mar 2006 07:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741497#M256223</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-01T07:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741498#M256224</link>
      <description>The best way to do this is to schedule the job to run on the thirtieth minute past the hour and every zeroth minute using cron.  &lt;BR /&gt;&lt;BR /&gt;Then in the script create a check that the invocation is one that you wish to progress with.  You can implement this using control files or other means.</description>
      <pubDate>Thu, 02 Mar 2006 03:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741498#M256224</guid>
      <dc:creator>Chris Watson</dc:creator>
      <dc:date>2006-03-02T03:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: To schedule a job every 2.30 hours interval through crontab...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741499#M256225</link>
      <description>The last line of your script (myscript) will resubmit the job to at, to run in 150 minutes, or two and a half hours:&lt;BR /&gt;&lt;BR /&gt;echo "/full_path/myscript" | at now + 150 minutes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 Mar 2006 06:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-schedule-a-job-every-2-30-hours-interval-through-crontab/m-p/3741499#M256225</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-03-02T06:08:48Z</dc:date>
    </item>
  </channel>
</rss>

