Sponsored Content
Top Forums Shell Programming and Scripting Wants alternate to the Sleep option?? Post 302289373 by danmero on Thursday 19th of February 2009 12:30:12 PM
Old 02-19-2009
Quote:
Originally Posted by satyajit007
Currently because of this sleep140 even if the first job gets complete in one minute it is unnecessarily waiting for the next job....

I want a script which will not wait for the sleep rather it should execute the next job immediately once the first job completes successfully......
man wait
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Alternate way for echo.

Hi, Is there any other command echo does. if I am doing this operation for each line in my file. So its taking very long time to process more than 1000 records. Is there any alternative way to write the above if statement (5 Replies)
Discussion started by: senthil_is
5 Replies

2. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

3. Shell Programming and Scripting

alternate lines

Hi, I'm new to Unix. I want to read the all the lines from a text file and write the alternate lines into another file. Please give me a shell script solution. file1 ----- one two three four five six seven newfile(it should contain the alternate lines from the file1) ------- one... (6 Replies)
Discussion started by: pstanand
6 Replies

4. Shell Programming and Scripting

Wrapping 'sleep' with my 'resleep' function (Resettable sleep)

This is a very crude attempt in Bash at something that I needed but didn't seem to find in the 'sleep' command. However, I would like to be able to do it without the need for the temp file. Please go easy on me if this is already possible in some other way: How many times have you used the... (5 Replies)
Discussion started by: deckard
5 Replies

5. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

6. Shell Programming and Scripting

Alternate to SLEEP for EXPECT within BASH script?

Fairly new to the System Admin world, and this is my first post here, hoping to get some clarification. I am using a BASH script to automate some Logfile Archiving (into .tars). The actual logfiles are accessed through an SSH, so I have used the following EXPECT sub-script within my main BASH... (8 Replies)
Discussion started by: Goatfarmer03
8 Replies

7. UNIX for Dummies Questions & Answers

Alternate for pwdx in HPUX

I need alternate command as pwdx does not work on HP-UX mymachine B.11.31 U ia64 3223107173 unlimited-user license (6 Replies)
Discussion started by: mohtashims
6 Replies

8. HP-UX

Alternate for wget

Hi, Whats the alternate for wget in HP-UX ? (4 Replies)
Discussion started by: mohtashims
4 Replies

9. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
GRAM 
Signals(3) globus gram protocol GRAM Signals(3) NAME
GRAM Signals - Enumerations enum globus_gram_protocol_job_signal_t { GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_CANCEL = 1, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_SUSPEND = 2, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_RESUME = 3, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_PRIORITY = 4, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST = 5, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_EXTEND = 6, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_UPDATE = 7, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_SIZE = 8, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STOP_MANAGER = 9, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_END = 10 } Detailed Description Enumeration Type Documentation enum globus_gram_protocol_job_signal_t GRAM Signals. Enumerator: GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_CANCEL Cancel a job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_SUSPEND Suspend a job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_RESUME Resume a previously suspended job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_PRIORITY Change the priority of a job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST Signal the job manager to commence with a job submission if the job request was accompanied by the (two_state=yes) RSL attribute. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_EXTEND Signal the job manager to wait an additional number of seconds (specified by an integer value string as the signal's argument) before timing out a two-phase job commit. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_UPDATE Signal the job manager to change the way it is currently handling standard output and/or standard error. The argument for this signal is an RSL containing new stdout, stderr, stdout_position, stderr_position, or remote_io_url relations. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_SIZE Signal the job manager to verify that streamed I/O has been completely received. The argument to this signal contains the number of bytes of stdout and stderr received, separated by a space. The reply to this signal will be a SUCCESS message if these matched the amount sent by the job manager. Otherwise, an error reply indicating GLOBUS_GRAM_PROTOCOL_ERROR_STDIO_SIZE is returned. If standard output and standard error are merged, only one number should be sent as an argument to this signal. An argument of -1 for either stream size indicates that the client is not interested in the size of that stream. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STOP_MANAGER Signal the job manager to stop managing the current job and terminate. The job continues to run as normal. The job manager will send a state change callback with the job status being FAILED and the error GLOBUS_GRAM_PROTOCOL_ERROR_JM_STOPPED. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_END Signal the job manager to clean up after the completion of the job if the job RSL contained the (two-phase = yes) relation. Author Generated automatically by Doxygen for globus gram protocol from the source code. Version 11.3 Mon Apr 30 2012 GRAM Signals(3)
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy