- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- submit command question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 06:39 AM
06-03-2008 06:39 AM
submit command question
I am trying to use the submit command to execute a command procedure once a week on Monday at 3:00 AM.
I am not familiar with the submit command but from what I have read it should look something like this:
$ submit /noprinter/notify/after= ???? -
DSA20:[MDTSYS.COM]do_some_process.com
Any help would be appreciated!
Thanks!
--
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 06:48 AM
06-03-2008 06:48 AM
Re: submit command question
procedure (forum search for "resubmitting")
which runs every day at, say, 03:00, and
actually does something if it's Monday.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 06:56 AM
06-03-2008 06:56 AM
Re: submit command question
Here are examples of using SUBMIT /AFTER and calculating MONDAY on the fly:
http://64.223.189.234/node/97
http://64.223.189.234/node/501
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.
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.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 07:57 AM
06-03-2008 07:57 AM
Re: submit command question
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.
This could be a problem if a particular run is delayed until tuesday because of a busy queue, but that's probably unlikely.
submit/after=today+7-03:00:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 08:24 AM
06-03-2008 08:24 AM
Re: submit command question
--
Phil