<?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 capabilities in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437112#M5612</link>
    <description>as john palmer has correctly pointed out, the 3rd Friday occurs on the 15th thru the 21st incusive.  This equates to gt 14 and lt 22.</description>
    <pubDate>Wed, 16 Aug 2000 18:59:15 GMT</pubDate>
    <dc:creator>curt larson</dc:creator>
    <dc:date>2000-08-16T18:59:15Z</dc:date>
    <item>
      <title>cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437099#M5599</link>
      <description>Does anyone know of a way to have a system reboot at a certain time on say the third Friday of every month? The problem I am running into is that these fall on different dates during the months. Thanks.</description>
      <pubDate>Wed, 16 Aug 2000 16:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437099#M5599</guid>
      <dc:creator>Gerry Tully</dc:creator>
      <dc:date>2000-08-16T16:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437100#M5600</link>
      <description>You can run cron as root or better at.&lt;BR /&gt;Also, SAM-&amp;gt;Routine Tasks-&amp;gt;Sytem Shutdown let you to enable a shoutdown a while ago.</description>
      <pubDate>Wed, 16 Aug 2000 17:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437100#M5600</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-16T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437101#M5601</link>
      <description>Can do last day of month. Not aware of capabilities to do this unless you script something and use some arrays.</description>
      <pubDate>Wed, 16 Aug 2000 17:04:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437101#M5601</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-16T17:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437102#M5602</link>
      <description>That's what I thought I would have to do but I was hoping someone knew a better way.</description>
      <pubDate>Wed, 16 Aug 2000 17:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437102#M5602</guid>
      <dc:creator>Gerry Tully</dc:creator>
      <dc:date>2000-08-16T17:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437103#M5603</link>
      <description>Write a script and cron it to run on every Friday.&lt;BR /&gt;&lt;BR /&gt;At first thought, if the date is then between the 15th and 21st inclusive then it's the 3rd in the month.</description>
      <pubDate>Wed, 16 Aug 2000 17:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437103#M5603</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-16T17:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437104#M5604</link>
      <description>Sorry Gerry,&lt;BR /&gt;&lt;BR /&gt;I meant to finish...&lt;BR /&gt;&lt;BR /&gt;if todays date obtained from 'date' is between the 15th and 21st inc then do your reboot:-&lt;BR /&gt;&lt;BR /&gt;shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt;otherwise just exit.</description>
      <pubDate>Wed, 16 Aug 2000 17:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437104#M5604</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-16T17:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437105#M5605</link>
      <description>Try this and remark for other weeks.&lt;BR /&gt;&lt;BR /&gt;30 5 * * 6 /sbin/shutdown -r 0</description>
      <pubDate>Wed, 16 Aug 2000 17:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437105#M5605</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-08-16T17:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437106#M5606</link>
      <description>in your cron you could place a line:&lt;BR /&gt;00 04 * * 5 /your_script&lt;BR /&gt;&lt;BR /&gt;And in your script, test the value of the date, I suppose a 3rd friday in the month should be between the 17th and 23rd day of the month (check it out!)&lt;BR /&gt;like:&lt;BR /&gt;if [ $(date '+%d') -lt 23 ] and [ $(date '+%d' -gt 17 ]&lt;BR /&gt;then&lt;BR /&gt; &lt;DO what="" you="" want=""&gt;&lt;BR /&gt;fi&lt;/DO&gt;</description>
      <pubDate>Wed, 16 Aug 2000 17:20:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437106#M5606</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-16T17:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437107#M5607</link>
      <description>For December of this year, the 3rd Friday is the 15th</description>
      <pubDate>Wed, 16 Aug 2000 17:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437107#M5607</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-16T17:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437108#M5608</link>
      <description>And I made a mistake in the syntax, lest say:&lt;BR /&gt;&lt;BR /&gt;if [ $(date '+%d') -lt 23  -a  $(date '+%d') -gt 15 ]&lt;BR /&gt;then...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 16 Aug 2000 17:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437108#M5608</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-16T17:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437109#M5609</link>
      <description>And I made a mistake in the syntax, lets say:&lt;BR /&gt;&lt;BR /&gt;if [ $(date '+%d') -lt 23  -a  $(date '+%d') -gt 15 ]&lt;BR /&gt;then...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 16 Aug 2000 17:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437109#M5609</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-16T17:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437110#M5610</link>
      <description>as john palmer has correctly pointed out, the 3rd Friday occurs on the 15th thru the 21st incusive.  This equates to gt 14 and lt 22.</description>
      <pubDate>Wed, 16 Aug 2000 18:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437110#M5610</guid>
      <dc:creator>curt larson</dc:creator>
      <dc:date>2000-08-16T18:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437111#M5611</link>
      <description>as john palmer has correctly pointed out, the 3rd Friday occurs on the 15th thru the 21st incusive.  This equates to gt 14 and lt 22.</description>
      <pubDate>Wed, 16 Aug 2000 18:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437111#M5611</guid>
      <dc:creator>curt larson</dc:creator>
      <dc:date>2000-08-16T18:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437112#M5612</link>
      <description>as john palmer has correctly pointed out, the 3rd Friday occurs on the 15th thru the 21st incusive.  This equates to gt 14 and lt 22.</description>
      <pubDate>Wed, 16 Aug 2000 18:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437112#M5612</guid>
      <dc:creator>curt larson</dc:creator>
      <dc:date>2000-08-16T18:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437113#M5613</link>
      <description>as john palmer has correctly pointed out, the 3rd Friday occurs on the 15th thru the 21st incusive.  This equates to gt 14 and lt 22.</description>
      <pubDate>Wed, 16 Aug 2000 19:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437113#M5613</guid>
      <dc:creator>curt larson</dc:creator>
      <dc:date>2000-08-16T19:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: cron capabilities</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437114#M5614</link>
      <description>I wrote a hack script that seems to work...&lt;BR /&gt;it uses "cal" and cut -c16-17&lt;BR /&gt;&lt;BR /&gt;thought there might be a way to do this via "at"&lt;BR /&gt;but guess not.</description>
      <pubDate>Wed, 16 Aug 2000 20:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-capabilities/m-p/2437114#M5614</guid>
      <dc:creator>wyan lowe</dc:creator>
      <dc:date>2000-08-16T20:20:35Z</dc:date>
    </item>
  </channel>
</rss>

