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-05-2007 01:59 AM
06-05-2007 01:59 AM
Batchjob
How can I let's a batchjob only to run once time per day. I have a batchque whit /job_limit=1, where a lot of batchjob runs every day/night. But one of the jobs, only allowed to run one time. Pleace.
Take care...
/Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 02:17 AM
06-05-2007 02:17 AM
Re: Batchjob
Try
Submit/after="TOMORROW+01:00:00.00"
This Batchjob will run 1 hour after midnight. You must enter this command also within the batchjob. I would recommend to add this command as one of the first lines within the batchjob, before doing other stuff
Hope that helps
Geni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 03:09 AM
06-05-2007 03:09 AM
Re: Batchjob
Welcome to the OpenVMS Forum. I just saw that this was your first question.
So, I added a procedure (resubmit.com) wgich we use allways for batchjbs which should run periodicaly. The procedure does the following:
1. If there is allready a Batch Job with same name found in a queue, this batchjob will be deleted. After this the new job submits itself and finnaly there is a part where you can add commandswhich should be executed within the batchjob.
Regards
Geni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 03:34 AM
06-05-2007 03:34 AM
Re: Batchjob
You can also find a variety of job schedulers out there; my personal favorite is Kronos, from the OpenVMS Freeware CD, volume 4: http://h71000.www7.hp.com/openvms/freeware/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 04:56 AM
06-05-2007 04:56 AM
Re: Batchjob
http://64.223.189.234/node/97
In addition to the Freeware Kronos package, there's also a cron port around. The above has a pointer to the cron bits, too.
Stephen Hoffman
HoffmanLabs.Com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 10:44 AM
06-05-2007 10:44 AM
Re: Batchjob
I'm not sure I understand your question correctly. If you're concerned that you wish to limit one particular job (or set of jobs) to one running at a time one, but have other jobs which should not be restricted, one possibility is to create two batch queues, one with /JOB_LIMIT=1, to which you SUBMIT your restricted job(s), and another queue with a higher limit (or unlimited) to which all other jobs are submitted. Perhaps you should make the unlimited queue SYS$BATCH and call the other, say, BATCH_ONE.