10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Below is my script, which is used to invoke a test using curl command.
#/usr/bin/sh
MAILTO=user@xyz.com
URL='https://myserver.xyz.net/test/dir/test123.tws'
SOAPFILE=/tmp/soap.txt
curl -k -s -S --header 'Content-Type: text/xml;charset=UTF-8' --data @"${SOAPFILE}" "${URL}"
... (3 Replies)
Discussion started by: System Admin 77
3 Replies
2. Shell Programming and Scripting
Hi,
Is there any specific command to use to check only say Running jobs via autorep or similar command for Autosys? (0 Replies)
Discussion started by: sidnow
0 Replies
3. Shell Programming and Scripting
Hi Gurus,
I am newbie for autosys scheduler. I am wondering is there a command to list all job boxes or list all autosys jobs?
Thanks in advance. (0 Replies)
Discussion started by: ken6503
0 Replies
4. Shell Programming and Scripting
Hi all,
Here is my scenario..
i need to get dates from an existing autosys calendar and compare it with current date with in a unix shell script.
Please help me out and give me an approach to handle this.......
the general autosys calendar command used is autocal_asc ,but this is... (1 Reply)
Discussion started by: shrik12345
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using AUTOSYS GUI based tool. But I want to get the job status from the UNIX command prompt.
1. I want to execute only autorep command in the UNIX command prompt.
If need to execute this command what are the settings need to do that.
2. Is it possible for executing this... (5 Replies)
Discussion started by: onesuri
5 Replies
6. UNIX for Dummies Questions & Answers
All the autosys jobs are on server-1 and server-1 has been crashed due to some reason, Now I have to run 5 autosys jobs on server-2 (failover server) which are on server 1.
How to do with Autosys command (which command needs to fired on JIL) (0 Replies)
Discussion started by: tp2115
0 Replies
7. Shell Programming and Scripting
Hi ,
I would like to kill more than one job using a single autosys kill command. any help please ?
Thanks,
Mohan (1 Reply)
Discussion started by: mohanpadamata
1 Replies
8. Shell Programming and Scripting
hi,
i have autosys installed on unix.
i use "autorep -j t8i%" command to see the scheduled jobs. now i have changed some of the jobs and saved them too.
i gave the command jil< filename.jil to again insert the jobs. but my problem is what is the command to run all the jobs again so that i... (8 Replies)
Discussion started by: tejasingaraju17
8 Replies
9. Shell Programming and Scripting
Hi, how can i use unix shell command to get the autosys commands
for a set of given jobs?
autorep -J EMP% -w
returns all autosys jobnames starting with EMP and runtimes
However, i also want to see the autosys 'command' corresponding to the above jobs.
I don't want to sql query the... (1 Reply)
Discussion started by: ysrinu
1 Replies
10. UNIX for Advanced & Expert Users
My project uses Autosys.
I am new to this product and I don't know where to start from.
Q1. Please provide me the link where I can get Autosys documentation
Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies
lprm(1) General Commands Manual lprm(1)
Name
lprm - remove jobs from line printer queue
Syntax
lprm [-Pprinter] [-] [job #...] [user...]
Description
The command removes a job, or jobs, from a printer's spool queue. Since the spooling directory is protected from users, using is normally
the only method by which a user may remove a job.
The command without any arguments deletes the currently active job if it is owned by the user who invoked
If the - flag is specified, removes all jobs which a user owns. If the super-user employs this flag, the spool queue is emptied entirely.
The owner is determined by the user's login name and host name on the machine where the command was invoked.
Specifying a user's name, or list of user names, causes to attempt to remove any jobs queued belonging to that user (or users). This form
of invoking is useful only to the super-user.
A user may dequeue an individual job by specifying its job number. This number may be obtained from the program. For example,
% lpq -l
1st: ken [job #013ucbarpa]
(standard input) 100 bytes
% lprm 13
The command announces the names of any files it removes and is silent if there are no jobs in the queue which match the request list.
The command kills off an active daemon, if necessary, before removing any spooling files. If a daemon is killed, a new one is automati-
cally restarted upon completion of file removals.
Options
- Removes all jobs owned by you only.
-P printer Removes jobs from specified printer. It may be used to specify the queue associated with a specific printer (otherwise
the default printer, or the value of the PRINTER variable in the environment is used).
Restrictions
Since there are race conditions possible in the update of the lock file, the currently active job may be incorrectly identified.
Diagnostics
``Permission denied" if the user tries to remove files other than his own.
Files
/etc/printcap printer characteristics file
/usr/spool/* spooling directories
/usr/spool/*/lock lock file used to obtain the pid of the current
daemon and the job number of the currently active job
See Also
lpq(1), lpr(1), lpd(8)
lprm(1)