02-12-2013
Quote:
Originally Posted by
GnuScripter
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!
You didn't answer most of my questions. But, if you have something that is almost working, please post it! Maybe we can help you refine it to do what you want.
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
LEARN ABOUT DEBIAN
www::search::jobserve
WWW::Search::Jobserve(3pm) User Contributed Perl Documentation WWW::Search::Jobserve(3pm)
NAME
WWW::Search::Jobserve - backend for searching www.jobserve.com
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('Jobserve');
my $sQuery = WWW::Search::escape_query("(Fast Food Operative) and PERL");
$oSearch->native_query($sQuery, { job_category => 'it' });
while (my $oResult = $oSearch->next_result())
{
print $oResult->url, "
";
print $oResult->title, "
";
print $oResult->description, "
";
}
DESCRIPTION
This class is a Jobserve specialisation of WWW::Search. It handles making, retrieving and interpreting Jobserve searches
http://www.jobserve.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
NOTES
This class can be used to query both the UK and Australian Jobserve sites, see below.
The search will terminate unless "job_category" is set in the native_query options.
The results are ordered Best Match first
(unless 'job_order' => 'DateTime' is specified).
OPTIONS
Parameters Available:
job_category job_type job_lookahead job_order jobserve_site
Job Category
Job Categories must be specified by setting "job_category" in the native_query options:
$oSearch->native_query($sQuery, { job_category => 'it' });
The value of this is simply the prefix you see jobserve insert into the url once you've clicked beyond the front page. E.g.
http://www.it.jobserve.com { job_category => 'it' }
http://www.engineering.jobserve.com { job_category => 'engineering' }
etc.
Job Type
Job Types are (Any|Contract|Permanent). To specifically search for one contract type, set 'job_type' => (*|C|P) to the query options:
$oSearch->native_query($sQuery, { job_type => 'C', job_category => 'it' } );
The search defaults to "All"
Days Ahead
Choices of how many days to look ahead are (5|4|3|2|1|0). To specifically search for x working days ahead, set 'job_lookahead' =>
(5|4|3|2|1|0) to the query options:
$oSearch->native_query($sQuery, { job_lookahead => '2', job_category => 'it' } );
The search defaults to 5
Result Order
Choices of how to order results are (Best Match|Latest Job). To alter the result order, set 'job_order' => (Rank|DateTime) to the
query options:
$oSearch->native_query($sQuery, { job_order => 'DateTime', job_category => 'it' } );
The search defaults to "Best Match".
Different Jobserve Sites
There are currently two Jobserve websites supported by this module namely United Kingdom and Australia.
The search will default to the UK site unless the parameter, 'jobserve_site' => (uk|au) is set in the query options:
$oSearch->native_query($sQuery, { jobserve_site => 'au', job_category => 'it' } );
The search defaults to "uk"
Invoke all parameters like so:
$oSearch->native_query($sQuery, { job_category => 'it',
job_type => 'C',
job_lookahead => '2',
job_order => 'DateTime',
jobserve_site => 'au', } );
SEE ALSO
To make new back-ends, see WWW::Search.
BUGS
Doubt it. Please tell me if you find any! Better still have a go at fixing them.
AUTHOR
"WWW::Search::Jobserve" was written by Andy Pritchard (pilchkinstein@hotmail.com).
"WWW::Search::Jobserve" is maintained by Andy Pritchard
LEGALESE
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
VERSION HISTORY
1.02
Altered parse_tree for cases where another href link is inserted before the job title and link
1.01
Altered POD and added a README
1.00
Released to the public.
perl v5.12.4 2011-11-02 WWW::Search::Jobserve(3pm)