<?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: submit command question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209804#M14775</link>
    <description>&lt;BR /&gt;As long as you submit the first one for a specific Monday (say /after=9-jun-2008:03:00:00), this should work internal to the procedure.&lt;BR /&gt;&lt;BR /&gt;This could be a problem if a particular run is delayed until tuesday because of a busy queue, but that's probably unlikely.&lt;BR /&gt;&lt;BR /&gt;submit/after=today+7-03:00:00&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Jun 2008 14:57:42 GMT</pubDate>
    <dc:creator>Gregg Parmentier</dc:creator>
    <dc:date>2008-06-03T14:57:42Z</dc:date>
    <item>
      <title>submit command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209801#M14772</link>
      <description>Greetings to all ...&lt;BR /&gt;&lt;BR /&gt;I am trying to use the submit command to execute a command procedure once a week on Monday at 3:00 AM.&lt;BR /&gt;&lt;BR /&gt;I am not familiar with the submit command but from what I have read it should look something like this:&lt;BR /&gt;&lt;BR /&gt;$ submit /noprinter/notify/after= ???? -&lt;BR /&gt;DSA20:[MDTSYS.COM]do_some_process.com&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Phil</description>
      <pubDate>Tue, 03 Jun 2008 13:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209801#M14772</guid>
      <dc:creator>Phillip Tusa</dc:creator>
      <dc:date>2008-06-03T13:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: submit command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209802#M14773</link>
      <description>A common scheme is to use a self-resubmitting&lt;BR /&gt;procedure (forum search for "resubmitting")&lt;BR /&gt;which runs every day at, say, 03:00, and&lt;BR /&gt;actually does something if it's Monday.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913&lt;/A&gt;</description>
      <pubDate>Tue, 03 Jun 2008 13:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209802#M14773</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-06-03T13:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: submit command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209803#M14774</link>
      <description>There's no shorthand construct for MONDAY in the OpenVMS date syntax, so you either need to calculate MONDAY using some date math, or (far easier, in my estimation) submit the self-requeuing job to run daily at 3AM, and then calculate MONDAY at run-time.&lt;BR /&gt;&lt;BR /&gt;Here are examples of using SUBMIT /AFTER and calculating MONDAY on the fly:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://64.223.189.234/node/97" target="_blank"&gt;http://64.223.189.234/node/97&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://64.223.189.234/node/501" target="_blank"&gt;http://64.223.189.234/node/501&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are various other discussions of submitting for a specific day of the week and of calculating a particular weekday using OpenVMS DCL date math around (Google is your friend), and it would certainly be nice if DCL saw the addition of weekday entries akin to the long-standing YESTERDAY, TODAY and TOMORROW constructs; adding /AFTER=TUESDAY, for instance.&lt;BR /&gt;&lt;BR /&gt;The other option is to acquire and install a job scheduler, and Freeware and commercial options are available.  (And discussed via links in the above articles.)  I would encourage a scheduling package, as batch isn't a particularly good scheduler -- it works, but there's limited built-in error handling and no built-in error reporting.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Tue, 03 Jun 2008 13:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209803#M14774</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-06-03T13:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: submit command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209804#M14775</link>
      <description>&lt;BR /&gt;As long as you submit the first one for a specific Monday (say /after=9-jun-2008:03:00:00), this should work internal to the procedure.&lt;BR /&gt;&lt;BR /&gt;This could be a problem if a particular run is delayed until tuesday because of a busy queue, but that's probably unlikely.&lt;BR /&gt;&lt;BR /&gt;submit/after=today+7-03:00:00&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jun 2008 14:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209804#M14775</guid>
      <dc:creator>Gregg Parmentier</dc:creator>
      <dc:date>2008-06-03T14:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: submit command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209805#M14776</link>
      <description>Thanks everyone for your suggestions!&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Phil&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jun 2008 15:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-command-question/m-p/4209805#M14776</guid>
      <dc:creator>Phillip Tusa</dc:creator>
      <dc:date>2008-06-03T15:24:00Z</dc:date>
    </item>
  </channel>
</rss>

