Sponsored Content
Top Forums UNIX for Advanced & Expert Users autosys command(autorep) from command prompt Post 302555572 by onesuri on Thursday 15th of September 2011 05:47:09 AM
Old 09-15-2011
autosys command(autorep) from command prompt

Code:
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 command if you have GUI based autosys tool.
3.	Do we need any permission to access this command in the UNIX command prompt?
4.	Any other settings required for to access this command. 


I have searched in the forums but I am unable to find the relevant information.
Any help greatly appreciated.


Thanks -onesuri

 

10 More Discussions You Might Find Interesting

1. SuSE

inconsistent ls command display at the command prompt & running as a cron job

Sir, I using the following commands in a file (part of a bigger script): #!/bin/bash cd /opt/oracle/bin ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out If I run this from the command prompt the result is: 2007-05-16 if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies

2. Shell Programming and Scripting

autorep command to get autosys command

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

3. Shell Programming and Scripting

autorep command cut longer jobnames. Anybody into autosys / autorep?

Hi there, my problem is, that i need to get all jobs with status from a autosys instance. If I use autorep -J ALL -d >joblist.txt longer Jobnames will be cut and the end will be replaced by 3 points like this "ThisIsALongerJobNameAnd..." If i try a single job query like ... (7 Replies)
Discussion started by: drmaniac
7 Replies

4. Shell Programming and Scripting

autorep command in autosys

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

5. Shell Programming and Scripting

autorep command in the script

I have created UNIX script for getting information for the autosys jobs using autorep command. Job_name=temp_job1 echo $Job_name autorep -j $job_name -l0 After running the script I am getting the below error Error while loading shared libraries: libautoeac_api.so: cannot share object... (1 Reply)
Discussion started by: onesuri
1 Replies

6. Shell Programming and Scripting

Using awk with autosys autorep

Hi, How to get correct field/column from autosys autorep command. I'm using GNU/Linux I'm trying to get the difference of last end and last start and the status (ST). In awk, i get the following excluding the heading part $1 - jobname $2 - Last Start date $3 - Last Start time $4 - Last... (1 Reply)
Discussion started by: bobbygsk
1 Replies

7. Shell Programming and Scripting

Autorep command does not work from crontab !

Hi, I have written a ksh script and I'ma using the following command in it: autorep -j %abcd% | grep RU | grep BOX1 The script works fine when executed manualy on the command prompt. But does not work when scheduled in crontab. I could see the following in the crontab log: ... (1 Reply)
Discussion started by: girish1428
1 Replies

8. UNIX for Dummies Questions & Answers

Execution of command at command prompt

Hello Experts, I am still learning linux and have come across a question, hope to get some answer. I have two servers, and both have the same version of svn client installed and both have the same user_id. my SVN client version: svn, version 1.6.11 (r934486) compiled Mar 2 2011,... (4 Replies)
Discussion started by: babyPen1985
4 Replies

9. Shell Programming and Scripting

Command to check only Autosys running jobs with autorep like command

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

10. UNIX for Dummies Questions & Answers

Shell script not working but command works in command prompt

Hi everyone I have a problem with my script If I try directly this command /usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz It works But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies
POSTLOCK(1)						      General Commands Manual						       POSTLOCK(1)

NAME
postlock - lock mail folder and execute command SYNOPSIS
postlock [-c config_dir] [-l lock_style] [-v] file command... DESCRIPTION
The postlock command locks file for exclusive access, and executes command. The locking method is compatible with the Postfix UNIX-style local delivery agent. Options: -c config_dir Read the main.cf configuration file in the named directory instead of the default configuration directory. -l lock_style Override the locking method specified via the mailbox_delivery_lock configuration parameter (see below). -v Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose. Arguments: file A mailbox file. The user should have read/write permission. command... The command to execute while file is locked for exclusive access. The command is executed directly, i.e. without interpretation by a shell command interpreter. DIAGNOSTICS
The result status is 75 (EX_TEMPFAIL) when postlock could not perform the requested operation. Otherwise, the exit status is the exit sta- tus from the command. BUGS
With remote file systems, the ability to acquire a lock does not necessarily eliminate access conflicts. Avoid file access by processes running on different machines. ENVIRONMENT
MAIL_CONFIG Directory with Postfix configuration files. MAIL_VERBOSE Enable verbose logging for debugging purposes. CONFIGURATION PARAMETERS
The following main.cf parameters are especially relevant to this program. See the Postfix main.cf file for syntax details and for default values. Locking controls deliver_lock_attempts Limit the number of attempts to acquire an exclusive lock. deliver_lock_delay Time in seconds between successive attempts to acquire an exclusive lock. stale_lock_time Limit the time after which a stale lock is removed. mailbox_delivery_lock What file locking method(s) to use when delivering to a UNIX-style mailbox. The default setting is system dependent. For a list of available file locking methods, use the postconf -l command. Resource controls fork_attempts Number of attempts to fork() a process before giving up. fork_delay Delay in seconds between successive fork() attempts. LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA POSTLOCK(1)
All times are GMT -4. The time now is 03:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy