Forecast of jobs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Forecast of jobs
# 1  
Old 06-28-2017
Forecast of jobs

Hello,
I'm looking for forecast of Autosys Jobs, along with their status, in a specific time period.

I tried job_depends and autorep.
  1. Problem with autorep is, I Cannot use from and to time, like I can use with job_depends, but the results are in a simple single line format for each job, with when they were last run etc.

    Provided '-r 7' I can retrieve jobs for past 7 days, but I need for future or past, depending on the time, which the user specifies from the app.
  2. Problem with job_depends, is that, it gives me lot of unwanted(in my case) information, like dependant jobs and atomic conditions etc., which is really hard to filter the results.

All I need is JobName, current job status(hold, ice, terminated, etc.), in a specified time period.


Thanks, in advance.

Last edited by rbatte1; 06-29-2017 at 12:31 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to run multiple jobs and it's dependent jobs

I have multiple jobs and each job dependent on other job. Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE. I need an help how to start. Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies

2. Shell Programming and Scripting

waiting on jobs in bash, allowing limited parallel jobs at one time, and then for all to finish

Hello, I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies

3. Solaris

Cron jobs and at jobs

There are two jobs in Solaris , Cron and at jobs.. I know how to disable or enable cron jobs. How can I enable at jobs and disable it. Kindly help. Rj (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Shell Programming and Scripting

Shell script for weather / forecast

#!/bin/sh #Argentina Only :s # This script requires curl and iconv, iconv is because they do not use Weather Service utf-8 ¬¬ # 87938 = Ushuaia # 87934 = Rio Grande # 87418 = Mendoza # 87582 = Capital Federal # 87692 = Mar del Plata # 87480 = Rosario # 87344 = Cordoba # 87371 = Santa Fe ... (8 Replies)
Discussion started by: yamirokuay
8 Replies

5. Shell Programming and Scripting

at jobs.

Please suggest how can i modify or change the at jobs ? (4 Replies)
Discussion started by: anupdas
4 Replies

6. Solaris

at jobs

how to schedule a reboot using the at jobs ? (3 Replies)
Discussion started by: priky
3 Replies

7. Shell Programming and Scripting

background jobs exit status and limit the number of jobs to run

i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help. $cat run_job.ksh #!/usr/bin/ksh #################################### typeset -u SCHEMA_NAME=$1 ... (1 Reply)
Discussion started by: GrepMe
1 Replies

8. UNIX for Advanced & Expert Users

jobs

I am running this script below as a cron job for user root. In fact I set this job early last week and expected it to delete archive logs older than 7 days, but doesn't work - just displays the echo messages and no error. Can somebody advise me the probable causes ?? DAY_AFTER=7; export... (1 Reply)
Discussion started by: vbaskar
1 Replies
Login or Register to Ask a Question
Weather::Com::Location(3pm)				User Contributed Perl Documentation			       Weather::Com::Location(3pm)

NAME
Weather::Com::Location - class representing one location and its weather SYNOPSIS
#!/usr/bin/perl -w use Weather::Com::Finder; # you have to fill in your ids from weather.com here my $PartnerId = 'somepartnerid'; my $LicenseKey = 'mylicense'; my %weatherargs = ( 'partner_id' => $PartnerId, 'license' => $LicenseKey, ); my $finder = Weather::Com::Finder->new(%weatherargs); # if you want an array of locations: my @locations = $finder->find('Heidelberg'); # or if you prefer an arrayref: my $locations = $finder->find('Heidelberg'); foreach my $location (@locations) { print "Found weather for city: ", $location->name(), " "; print "The city is located at: ", $location->latitude(), "deg N, ", $location->longitude(), "deg E "; print "Local time is ", $location->localtime()->time(), " "; print "Sunrise will be/has been at ", $location->sunrise()->time(), " "; } DESCRIPTION
Using Weather::Com::Location objects is the way to access weather (and some location) information for one specific location (city). You get Weather::Com::Location objects by using a finder object (see Weather::Com::Finder). Weather::Com::Location is a subclass of Weather::Com::Cached. An instance of this class will update itself corresponding to the caching rules any time one of its methods is called. CONSTRUCTOR
new(hash or hashref) The constructor will usually not be used directly because you get ready to use location objects by using a finder. If you ever want to instantiate location objects on your own, you have to provide the same configuration hash or hashref to the constructor you usually would provide to the "new()" method of Weather::Com::Finder. In addition it is necessary to add a hash element "location_id" to this config hash. The "location_id" has to be a valid weather.com location id. METHODS
id() Returns the location id used to instantiate this location. name() Returns the name of the location as provided by weather.com. current_conditions() Returns a Weather::Com::CurrentConditions object containing the current conditions of the location. The Weather::Com::CurrentConditions object is instantiated with the first call of the "current_conditions()" method. Please refer to Weather::Com::CurrentConditions for further details. forecast() Returns a Weather::Com::Forecast object. Please refer to Weather::Com::Forecast for further details. latitude() Returns the latitude of the location. longitude() Returns the longitude of the location. localtime() Returns a Weather::Com::DateTime object containing the local time of the location. This value is evaluated each time you call this method. We do not use the value returned from weather.com here because it does not make any sence to use a cached value to show the current time. localtime_ampm() This method is deprecated and will be removed with the next release! Returns the local time of the location. The time is returned in the format "hh:mm [AM|PM]". To get a 24 hour format use "localtime" instead. Sample: 10:30 PM sunrise() Returns a Weather::Com::DateTime object containing the time of sunrise. sunrise_ampm() This method is deprecated and will be removed with the next release! Returns the time of sunrise in 12 hour format (see "localtime_ampm()" for details). sunset() Returns a Weather::Com::DateTime object containing the time of sunset. sunset_ampm() This method is deprecated and will be removed with the next release! Returns the time of sunset in 12 hour format (see "localtime_ampm()" for details). timezone() Returns the timezone offset to GMT (without respecting daylight savings time). units() Returns a Weather::Com::Units object. Please refer to Weather::Com::Units for further details. SEE ALSO
See also documentation of Weather::Com, Weather::Com::CurrentConditions, Weather::Com::Units. AUTHOR
Thomas Schnuecker, <thomas@schnuecker.de> COPYRIGHT AND LICENSE
Copyright (C) 2004-2007 by Thomas Schnuecker This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The data provided by weather.com and made accessible by this OO interface can be used for free under special terms. Please have a look at the application programming guide of weather.com (http://www.weather.com/services/xmloap.html) perl v5.8.8 2007-07-09 Weather::Com::Location(3pm)