qrun(8B) PBS qrun(8B)NAME
qrun - run a pbs batch job
SYNOPSIS
qrun [-a] [-H host] job_identifier ...
DESCRIPTION
The qrun command is used to force a batch server to initiate the execution of a batch job. The job is run regardless of scheduling posi-
tion, resource requirements, or state.
In order to execute qrun, the user must have PBS Operation or Manager privilege.
OPTIONS -a Specifies the job(s) is to be run asynchronously.
-H host Specifies the host within the cluster on which the job(s) are to be run. The host argument is the name of a host that is a
member of the cluster of hosts managed by the server. If the option is not specified, the server will select the "worst
possible" host on which to execute the job.
OPERANDS
The qrun command accepts one or more job_identifier operands of the form:
sequence_number[.server_name][@server]
STANDARD ERROR
The qrun command will write a diagnostic message to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qrun command, the exit status will be a value of zero.
If the qrun command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO pbs_server(8B), pbs_sched(8B), qmgr(1B)Localqrun(8B)
Check Out this Related Man Page
qrun(8B) PBS qrun(8B)NAME
qrun - run a pbs batch job
SYNOPSIS
qrun [-a] [-H host] job_identifier ...
DESCRIPTION
The qrun command is used to force a batch server to initiate the execution of a batch job. The job is run regardless of scheduling posi-
tion, resource requirements, or state.
In order to execute qrun, the user must have PBS Operation or Manager privilege.
OPTIONS -a Specifies the job(s) is to be run asynchronously.
-H host Specifies the host within the cluster on which the job(s) are to be run. The host argument is the name of a host that is a
member of the cluster of hosts managed by the server. If the option is not specified, the server will select the "worst
possible" host on which to execute the job.
OPERANDS
The qrun command accepts one or more job_identifier operands of the form:
sequence_number[.server_name][@server]
STANDARD ERROR
The qrun command will write a diagnostic message to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qrun command, the exit status will be a value of zero.
If the qrun command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO pbs_server(8B), pbs_sched(8B), qmgr(1B)Local qrun(8B)
Hey all,
Does anyone know if Unix has an equivalent to a batch file? And if so, does it work the same way as a batch file under windows?
AND, if you can answer that one, is it possible to run such a file under HP-UX and have it execute while in an FTP command line? What I need to do is... (4 Replies)
Hi..
I have a batch file in lynux where i have a copy command written..then i copied this batch file and run on the ms dos machine..but when i run this batch file its coming bad command or file name..i opened this with notepad then some junk characters are seen..vat i shoud do to doscp this file... (5 Replies)
Hi all,
I am preparing for a worst case scenario. Say i have a production server A, should A fails ( for whatever reason), i want another server B to take over. How can i move everything from A to B? Assuming i have regular backup of A.
I've searched in the forums, and briefly came across... (4 Replies)
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)
Hi,
I want to schedule a job through Autosys (in Linux server) to run on 1st day of every 3rd month(gap of 90 days). Please someone help me to achive my above requirement
Example:
Run the sample.sh on 01-Jan-2009, 01-Apr-2009, 01-Jul-2009, 01-Oct-2009.
Thanks in advance (4 Replies)
Hi All,
I m not able to run at job with normal user on AIX system
os version is 5300-05-06.
I am able to run at job only with root user.
When I try to run at job with any other user I am getting error:
at: you are not authorized to use at. Sorry.
I checked at.deny file, it is... (4 Replies)
Hi,
I am trying to schedule an autosys job for weblogic server reboot. When i run the job it is failing with the following error:
/bin/sh: /path/stop_wls instancename: not found
The following is my jil and i dont refer to /bin/sh at all
update_job: mgd_shutdown_cmd.jil job_type: c ... (3 Replies)
Hi All,
I have a job. I need to create a shell script which will execute that job continously i.e 24x7.
Please help me in writing this script.
Thanks,
Kumar66 (6 Replies)
Hello, I'm new to scripting so, sorry if this is a dumb question. What's the best way to execute a .sh file remotely? I want to log into server "b" from server "a" & run a script. "./scriptname.sh". At this point, all I'm looking to do is a simple ls -la > output.txt within the script to capture... (3 Replies)
I want to write a batch job (ksh) with the following requirement
we have file feeds coming to our system from other team,
if the file size is greater than expected then we dont need to process the file for the day
and need to archive the file and send email notification to the manager saying... (5 Replies)
Hi,
I have a batch job which FTPs source feeds to the server. It has a function "VDATE" which is used to extract current date and it was used to add the date in the log file as suffix. Following is the code:
SET vdate=%mm%_%dd%_%yyyy%
set log_file=%working_dir%\Log_Files\log_%vdate%.log
... (5 Replies)
Hi,
I am using a batch file to run 2 or more shutdown batch for each of my server like below:
Shutdown_serverA.bat
Shutdown_serverB.bat
...
Is there anyway i can do this in parallel instead of serially:confused:
ServerA & ServerB shutdown at the same time in one click (batch). (4 Replies)
I need run a command such as ps -ef |grep xxx on a batch of servers, how to write a script to run it without password? don't need go in each server to check?
Thanks (7 Replies)
So, let's say I have a usual batch rename file like this:
and I'd like to have a secon bat file, that can /reverse" the first.
BUT, I don't want to simply "rewrite" it like
move hello 254352426
but rather, have the new script take the source and destination and reverse it somehow... (6 Replies)