<?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 cronjob in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907713#M284089</link>
    <description>How can i specify ifi want to run some process every 25 min</description>
    <pubDate>Tue, 05 Dec 2006 01:58:03 GMT</pubDate>
    <dc:creator>atul.kaggarwal</dc:creator>
    <dc:date>2006-12-05T01:58:03Z</dc:date>
    <item>
      <title>cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907713#M284089</link>
      <description>How can i specify ifi want to run some process every 25 min</description>
      <pubDate>Tue, 05 Dec 2006 01:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907713#M284089</guid>
      <dc:creator>atul.kaggarwal</dc:creator>
      <dc:date>2006-12-05T01:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907714#M284090</link>
      <description>Hy&lt;BR /&gt;&lt;BR /&gt;25 * * * * /path/to/jop&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 05 Dec 2006 02:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907714#M284090</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2006-12-05T02:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907715#M284091</link>
      <description>Thanks for reply.. Please now let me know how can we specify a job if i want to run it EVERY 1:30 Hours i.e. 90 min</description>
      <pubDate>Tue, 05 Dec 2006 02:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907715#M284091</guid>
      <dc:creator>atul.kaggarwal</dc:creator>
      <dc:date>2006-12-05T02:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907716#M284092</link>
      <description>You can't with crontab, only multiples or divisors of 60 minutes.  Instead use at(1) and reschedule for 25 minutes later: at ... +25 minutes&lt;BR /&gt;&lt;BR /&gt;Better yet, just use 30.  For 30 you would use:&lt;BR /&gt;0,30 * * * * /path/to/jop&lt;BR /&gt;&lt;BR /&gt;If you really really wanted to use 25, you would have to list all 57 values of 25 minutes in a 24 hour day.</description>
      <pubDate>Tue, 05 Dec 2006 02:15:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907716#M284092</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-05T02:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907717#M284093</link>
      <description>&lt;!--!*#--&gt;hi&lt;BR /&gt;&lt;BR /&gt;every 90mins would be: (suppose it started midnight: 1:30, 3:00, 4:30, 6:00, 7:30, 9:00, 10:30, 12:00, 13:30, 15:00, 16:30, 18:00, 19:30, 21:00, 22:30, 00:00)&lt;BR /&gt;&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# min|hour |day  |month|day  |script&lt;BR /&gt;#    |     |of mo|     |of wk|&lt;BR /&gt;#----|-----|-----|-----|-----|--------------------------------------------------&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;30     1,4,7,10,13,16,19,22  * *  * /path/to/job&lt;BR /&gt;00     3,6,9,12,15,18,21,00  * *  * /path/to/job&lt;BR /&gt;&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# END OF TABLE           day0-&amp;gt;Sunday  day6-&amp;gt;Saturday&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 05 Dec 2006 02:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907717#M284093</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-12-05T02:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907718#M284094</link>
      <description>If you want it to run every 90 minutes, you would have to list all 16 90 minute periods in a day.  This is a simple two line crontab:&lt;BR /&gt;00 00,03,06,09,12,15,18,21 * * * command&lt;BR /&gt;30 01,04,07,10,13,16,19,22 * * * command&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Dec 2006 02:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907718#M284094</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-05T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907719#M284095</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;if you want to "at" then it will be more simple since the time can be set relative to the last execution of the script.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;at -f /path/to/job +1.5 hours &amp;gt; /dec/null&lt;BR /&gt;&lt;BR /&gt;(of course, you will need to set the appropriate permissions and include the command in the script itself)&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Dec 2006 02:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907719#M284095</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-12-05T02:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907720#M284096</link>
      <description>&amp;gt;Yogeeraj: at -f /path/to/job +1.5 hours&lt;BR /&gt;&lt;BR /&gt;You can't use 1.5 so you need: +90 minutes</description>
      <pubDate>Tue, 05 Dec 2006 02:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907720#M284096</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-05T02:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907721#M284097</link>
      <description>You can also start a job once and include the following code:&lt;BR /&gt;&lt;BR /&gt;i.e. for KSH:&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt; job....&lt;BR /&gt;&lt;BR /&gt; sleep 5400&lt;BR /&gt;&lt;BR /&gt;done</description>
      <pubDate>Tue, 05 Dec 2006 02:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907721#M284097</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2006-12-05T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907722#M284098</link>
      <description>Oops, that's: at now +90 minutes</description>
      <pubDate>Tue, 05 Dec 2006 02:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907722#M284098</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-05T02:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907723#M284099</link>
      <description>&lt;!--!*#--&gt;&amp;gt;Oviwan: start a job once...&lt;BR /&gt;&lt;BR /&gt;This code does its work then waits 90 minutes.  Depending on how long it takes, it won't be every 90 but may be close enough.  If you want it accurate, you can get the start time and add 90 minutes and then sleep the difference when you recompute the current time when you are at the end of the loop.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;sleep 5400&lt;BR /&gt;&lt;BR /&gt;This may be confusing.  Either add comments or use:&lt;BR /&gt;  sleep $(( 90 * 60 ))</description>
      <pubDate>Tue, 05 Dec 2006 02:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/3907723#M284099</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-05T02:37:50Z</dc:date>
    </item>
  </channel>
</rss>

