HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: order in queue
Operating System - HP-UX
1833980
Members
1993
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-05-2007 03:23 AM
11-05-2007 03:23 AM
order in queue
Hi,
On HP-UX 11.11, when i try to batch several jobs in the same minute (eg : at -qt now) ; the order is not kept.
For example, i batch the job a, wich last 2 minutes, then the job b (2 minutes) and the job c (2 minutes), there is chance that job c will begin before job b (queus are configured to launch one job at a time).
Is there a way to keep the right order ?
thank-you.
On HP-UX 11.11, when i try to batch several jobs in the same minute (eg : at -qt
For example, i batch the job a, wich last 2 minutes, then the job b (2 minutes) and the job c (2 minutes), there is chance that job c will begin before job b (queus are configured to launch one job at a time).
Is there a way to keep the right order ?
thank-you.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 03:55 AM
11-05-2007 03:55 AM
Re: order in queue
Hi:
Consider specifying the starttime down to the second:
# at -f ./myscript1 -t 11051155.01
# at -f ./myscript2 -t 11051155.02
# at -f ./myscript3 -t 11051155.03
Regards!
...JRF...
Consider specifying the starttime down to the second:
# at -f ./myscript1 -t 11051155.01
# at -f ./myscript2 -t 11051155.02
# at -f ./myscript3 -t 11051155.03
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 11:15 AM
11-05-2007 11:15 AM
Re: order in queue
When multiple jobs are scheduled in cron, at or batch, there will always be a possibility that the jobs will overlap as different data or other circumstances occur (ie, long disk delays). One way to assure the correct order is to use a lock file where the state of a dependent processes is kept. When the lock file exists, the process is running and the last step of the script/program is to remove the lock file. Note that there is nothing special about the file - a simple touch to create a zero-length file is adequate.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 03:58 PM
11-05-2007 03:58 PM
Re: order in queue
>Is there a way to keep the right order?
What do you mean by order? If you want the second to follow the first, you should have the first start the second. And so on.
JRF and Bill have other suggestions if you don't want to wait until the end of the previous job.
>(queus are configured to launch one job at a time).
This and JRF's suggestion may be all you need.
What do you mean by order? If you want the second to follow the first, you should have the first start the second. And so on.
JRF and Bill have other suggestions if you don't want to wait until the end of the previous job.
>(queus are configured to launch one job at a time).
This and JRF's suggestion may be all you need.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP