02-12-2013
I've got everything working the way I need except getting it to pick up the job_type which is on the same line as the insert_job.
Line_max is 2048.
Right now I'm just using a single box.
System is Linux.
Thanks!
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Advanced & Expert Users
Hi I'm very new to this Autosys JIL scripts. Now I need to create an Command to copy the file from one folder to another by watching that folder.
I have written & create that job but i don't no how to add logging in JIL script.
Before moving the file i have to log the file details in a separte... (0 Replies)
Discussion started by: vijayvz
0 Replies
3. UNIX for Advanced & Expert Users
Hi All,
I wanted to know what time the box jobs were loaded into a particular Autosys Instance.
Is there a autosys command to find out the above? (The timestamp at which a box was loaded)
I had loaded my JIL script without outputting it to the log file. (4 Replies)
Discussion started by: grep_me
4 Replies
4. UNIX for Advanced & Expert Users
if you want to parse the output from an autosys you can use the below
autorep -j Prefix_% | awk '{
if ($6 ~ /^/)
printf "%-20s \t\t %-20s\n",$1,$5 ;
else if ($6 ~ /^/)
printf "%-20s \t\t %-20s\n",$1,$6;
else
printf "%-20s \t\t %-20s\n",$1,$4
}' | awk '{
if ($2... (1 Reply)
Discussion started by: phpsnook
1 Replies
5. 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
6. Shell Programming and Scripting
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
Hi ,
I have a jil file which i am trying to parse and print the job name and the condition corresponding to it.
Below is the input file
/* -------------------- testjob1 -------------------- */
insert_job: testjob1 job_type: c
machine: unix
owner: chidori
condition: s(joba) and... (9 Replies)
Discussion started by: chidori
9 Replies
8. Shell Programming and Scripting
Good evening, Im newbie at unix specially with awk
From an scheduler program called Autosys i want to extract some data reading an inputfile that comprises jobs names, then formating the output to columns for example
1.
This is the inputfile:
$ more MapaRep.txt
ds_extra_nikira_usuarios... (18 Replies)
Discussion started by: alexcol
18 Replies
9. UNIX for Beginners Questions & Answers
I am new to autosys. I want to add a global variable to a jil file named PJ.jil.
I also want to add a watch_file command to filename PJ.jil and AY.jil. The watch_file command checks every five minutes if the jobs have completed. For example. AY.jil needs to wait until all the jobs in PJ.jil have... (0 Replies)
Discussion started by: dellanicholson
0 Replies
10. UNIX for Beginners Questions & Answers
I have created two jil files name AY.jil and PY.jil. I have three issues which are as follows:
1. how do you add a global variable value from a shell script program to a jil
file?
2. PY.jil needs to check every five minutes on the completion of the AY.jil
jobs and AY.jil needs to... (1 Reply)
Discussion started by: dellanicholson
1 Replies
RINSE(8) Perl Programmers Reference Guide RINSE(8)
NAME
rinse - RPM Installation Entity.
SYNOPSIS
rinse [options]
Help Options:
--help Show help information.
--manual Read the manual for this script.
--version Show the version information and exit.
Mandatory Options:
--arch Specify the architecture to install.
--directory The directory to install the distribution within.
--distribution The distribution to install.
Customization Options:
--add-pkg-list Additional packages to download and install
--after-post-install Additionally run the specified script after
the post install script.
--before-post-install Additionally run the specified script before
the post install script.
--post-install Run the given post-install script instead of the
default files in /usr/lib/rinse/$distro
Misc Options:
--cache Should we use a local cache? (Default is 1)
--cache-dir Specify the directory we should use for the cache.
--clean-cache Clean our cache of .rpm files.
--config Specify a different configuration file.
(Default is /etc/rinse/rinse.conf)
--pkgs-dir Specify a different directory containing
<distribution>.packages files.
--mirror Specify the URL of the mirror.
(Default is to read it from /etc/rinse/rinse.conf)
--list-distributions Show installable distributions.
--print-uris Only show the RPMs which should be downloaded.
default files in /usr/lib/rinse/$distro
--verbose Enable verbose output.
OPTIONS
--arch Specify the architecture to install. Valid choices are 'amd64' and 'i386' only.
--add-pkg-list Add a list of additional packages.
--cache Specify whether to cache packages (1) or not (0).
--cache-dir Specify the directory we should use for the cache.
--clean-cache Remove all cached .rpm files.
--directory Specify the directory into which the distribution should be installed.
--distribution Specify the distribution to be installed.
--help Show help information.
--mirror Specify the URL of the mirror. Normally this is read from /etc/rinse/rinse.conf.
--list-distributions Show the distributions which are installable.
--manual Read the manual for this script.
--print-uris Only show the files we would download, don't actually do so.
--verbose Enable verbose output.
--version Show the version number and exit.
DESCRIPTION
rinse is a simple script which is designed to be able to install
a minimal working installation of an RPM-based distribution into
a directory.
The tool is analogous to the standard Debian GNU/Linux debootstrap
utility.
USAGE
To use this script you will need to be root. This is required
to mount /proc, run chroot, and more.
Basic usage is as simple as:
rinse --distribution fedora-core-6 --directory /tmp/test
This will download the required RPM files and unpack them into
a minimal installation of Fedora Core 6.
To see which RPM files would be downloaded, without actually
performing an installation or downloading anything, then you
may run the following:
rinse --distribution fedora-core-6 --print-uris
TODO
Short of supporting more distributions or architectures there aren't
really any outstanding issues.
AUTHOR
Steve
--
http://www.steve.org.uk/
LICENSE
Copyright (c) 2007-2010 by Steve Kemp. All rights reserved.
Copyright (c) 2011-2013 by Thomas Lange.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the
full text of the license.
2.0.1 2013-01-28 RINSE(8)