10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
This line is called in a windows batch file and I need to call the same 3 jars with Parms in a bash script.
cd "D:\ACDRIP\JARS"
java -cp ".\RIPError.jar;.\RIP31.jar;.\RIP31msg_en_US.jar" ResubmitErrors -Ahost -P185050
pause
Any ideas how to do this in Bash? (3 Replies)
Discussion started by: xgringo
3 Replies
2. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
3. Windows & DOS: Issues & Discussions
Morning,
I'm trying to execute a vbs from a .bat file. Can someone tell me what the difference is between these statements:
start c:\lib\runit.vbc
c:\lib\runit.vbs
When I run the batch with the 'start' parameter it doesn't seem to do anything. (1 Reply)
Discussion started by: Grueben
1 Replies
4. Windows & DOS: Issues & Discussions
Good morning all. I have been running into a problem running a simple gawk script that selects every third line from an input file and writes it to an output file.
gawk "NR%3==0" FileIn > FileOut
I am attempting to run this command from a batch file at the command line. I have several hundred... (6 Replies)
Discussion started by: 10000springs
6 Replies
5. Linux
Hi,
Do you know how to pass comand to rsync to backup a windows folder on a linux box?
I want to copy c:\\folder from windows to /data/tmp on linux.
I dont know how to pass the windows parameter to:
rsync -avz 192.168.1.4\c:\\folder /data/tmp
Thanks.
Charles. (3 Replies)
Discussion started by: mosndup
3 Replies
6. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
7. Windows & DOS: Issues & Discussions
Hi,
I need to check the file size using a batch script.
Pls advise. (0 Replies)
Discussion started by: krackjack
0 Replies
8. Shell Programming and Scripting
Hi everyone, let me get straight to the points.
My manager wants to execute a remote batch file (on a Windows server) from a UNIX Machine, does anyone know if this is possible and what packages would be needed?
Thanks
p.s. Sorry i cant give OS specifics, we use most UNIX's; AIX, Solaris,... (5 Replies)
Discussion started by: flip387
5 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Like in windows OS we have in unix something called "jobs"-term me if i am wrong- to run a sequence of steps which we can exceute at our own will without scheduling like corntab scheduling. can any one tell me what is the structure of this file and provide me with some info with this... (5 Replies)
Discussion started by: aixjadoo
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change:
I'd like to make a batch file which would connect to... (7 Replies)
Discussion started by: olgafb
7 Replies
QRERUN(P) POSIX Programmer's Manual QRERUN(P)
NAME
qrerun - rerun batch jobs
SYNOPSIS
qrerun job_identifier ...
DESCRIPTION
To rerun a batch job is to terminate the session leader of the batch job, delete any associated checkpoint files, and return the batch job
to the batch queued state. A batch job is rerun by a request to the batch server that manages the batch job. The qrerun utility is a user-
accessible batch client that requests the rerunning of one or more batch jobs.
The qrerun utility shall rerun those batch jobs for which a batch job_identifier is presented to the utility.
The qrerun utility shall rerun batch jobs in the order in which their batch job_identifiers are presented to the utility.
If the qrerun utility fails to process any batch job_identifier successfully, the utility shall proceed to process the remaining batch
job_identifiers, if any.
The qrerun utility shall rerun batch jobs by sending a Rerun Job Request to the batch server that manages each batch job.
For each successfully processed batch job_identifier, the qrerun utility shall have rerun the corresponding batch job at the time the util-
ity exits.
OPTIONS
None.
OPERANDS
The qrerun utility shall accept one or more operands that conform to the syntax for a batch job_identifier (see Batch Job Identifier ).
STDIN
Not used.
INPUT FILES
None.
ENVIRONMENT VARIABLES
The following environment variables shall affect the execution of qrerun:
LANG Provide a default value for the internationalization variables that are unset or null. (See the Base Definitions volume of
IEEE Std 1003.1-2001, Section 8.2, Internationalization Variables for the precedence of internationalization variables used to
determine the values of locale categories.)
LC_ALL If set to a non-empty string value, override the values of all the other internationalization variables.
LC_CTYPE
Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to
multi-byte characters in arguments).
LC_MESSAGES
Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.
LOGNAME
Determine the login name of the user.
ASYNCHRONOUS EVENTS
Default.
STDOUT
None.
STDERR
The standard error shall be used only for diagnostic messages.
OUTPUT FILES
None.
EXTENDED DESCRIPTION
None.
EXIT STATUS
The following exit values shall be returned:
0 Successful completion.
>0 An error occurred.
CONSEQUENCES OF ERRORS
In addition to the default behavior, the qrerun utility shall not be required to write a diagnostic message to standard error when the
error reply received from a batch server indicates that the batch job_identifier does not exist on the server. Whether or not the qrerun
utility waits to output the diagnostic message while attempting to locate the job on other servers is implementation-defined.
The following sections are informative.
APPLICATION USAGE
None.
EXAMPLES
None.
RATIONALE
The qrerun utility allows users to cause jobs in the running state to exit and rerun.
The qrerun utility is a new utility, vis-a-vis existing practice, that has been defined in this volume of IEEE Std 1003.1-2001 to correct
user-perceived deficiencies in the existing practice.
FUTURE DIRECTIONS
None.
SEE ALSO
Batch Environment Services
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE
/The Open Group 2003 QRERUN(P)