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
condor_drain(1) 					      General Commands Manual						   condor_drain(1)

Name
       condor_drain Control - draining of an execute machine

Synopsis
       condor_drain [-help]

       condor_drain[-debug] [-pool pool-name] [-graceful | -quick | -fast] [-resume-on-completion] [-check expr] machine-name

       condor_drain[-debug] [-pool pool-name] -cancel[-request-id id] machine-name

Description
       condor_drainis  an  administrative  command used to control the draining of all slots on an execute machine. When a machine is draining, it
       will not accept any new jobs. Which machine to drain is specified by the argument machine-name, and will be the same as the machine ClassAd
       attribute  Machine .

       How currently running jobs are treated depends on the draining schedule that is chosen with a command-line option:

       -graceful

	  Initiate  a  graceful  eviction of the job. This means all promises that have been made to the job are honored, including  MaxJobRetire-
	  mentTime . The eviction of jobs is coordinated to reduce idle time. This means that if one slot has a job with a  long  retirement  time
	  and  the other slots have jobs with shorter retirement times, the effective retirement time for all of the jobs is the longer one. If no
	  draining schedule is specified, -gracefulis chosen by default.

       -quick

	  MaxJobRetirementTime is not honored. Eviction of jobs is immediately initiated. Jobs are given time to  shut	down  and  produce  check-
	  points, according to the usual policy, that is, given by  MachineMaxVacateTime .

       -fast

	  Jobs are immediately hard-killed, with no chance to gracefully shut down or produce a checkpoint.

       Once draining is complete, the machine will enter the Drained/Idle state. To resume normal operation (negotiation) at that time or any pre-
       vious time during draining, the -canceloption may be used. The -resume-on-completionoption results in automatic resumption of normal opera-
       tion once draining has completed, and may be used when initiating draining. This is useful for forcing a machine with a partitionable slots
       to join all of the resources back together into one machine, facilitating de-fragmentation and whole machine negotiation.

Options
       -help

	  Display brief usage information and exit.

       -debug

	  Causes debugging information to be sent to  stderr , based on the value of the configuration variable  TOOL_DEBUG

       -pool pool-name

	  Specify an alternate Condor pool, if the default one is not desired.

       -graceful

	  (the default) Honor the maximum vacate and retirement time policy.

       -quick

	  Honor the maximum vacate time, but not the retirement time policy.

       -fast

	  Honor neither the maximum vacate time policy nor the retirement time policy.

       -resume-on-completion

	  When done draining, resume normal operation, such that potentially the whole machine could be claimed.

       -check expr

	  Abort draining, if  expr is not true for all slots to be drained.

       -cancel

	  Cancel a prior draining request, to permit the condor_negotiatorto use the machine again.

       -request-id id

	  Specify a specific draining request to cancel, where idis given by the  DrainingRequestId machine ClassAd attribute.

Exit Status
       condor_drainwill exit with a non-zero status value if it fails and zero status if it succeeds.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012						   condor_drain(1)