Setting up complex Date conditions in Autosys


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setting up complex Date conditions in Autosys
# 1  
Old 03-30-2011
Setting up complex Date conditions in Autosys

Scenario :

Job A - to be started at 2230 PM everyday ( mo-fr )
Job B - Need to start after 4 hours Jobs A started,irrespective of the Jobs A status .Even if Job A has failed/Succeeded/Terminated/Running Job B should start 4 hours after Job A started.It cannot be set to 0230 AM next day because Job A itself is dependent on some other job which doesnt have specific time.

I need help on settting up date_conditions for Job B

Thanks in Advance

-krg
# 2  
Old 03-30-2011
Job A can start the same time as a wrapper script that does a sleep 240 and runs job B. They should be in a Box together and so run on the same conditions. As far as i can see, delay in autosys is just for restarts, clocks and conditions run the rest.

A sleep is simpler than a command to dynamically schedule job B to run one time in 4 hours from clock, but that would be better in case of restarts, assuming 4 hours with 2 hours of downtime is the right sort of 4 hours.
# 3  
Old 03-31-2011
Thanks DGPickett

I cant merge Job A and Job B into same scripts.Some bussiness limitations.

Taking your suggestion i have done below :

Job A : starts at 2230
Job C: starts at 2230 having same conditions are Job A with command : sleep 240
Job B : dependent on SU(job C) ...

Do you see any loophole in this?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Setting up synergy on a complex network

Hi, I'm trying to use synergy at my workplace. I have a Windows laptop, which I want to use as the client and a Linux desktop which will be the server. Unfortunately, these machines are not on the same Local Area Network. The only way to access the Linux desktop from my Windows laptop is by... (0 Replies)
Discussion started by: lost.identity
0 Replies

2. Solaris

Setting Date Variable +1 date

I need to set a date varable within ksh that will set the date to the next day in the format 25-JUL-2013 - any help would be appreciated. (3 Replies)
Discussion started by: bjdamon
3 Replies

3. Shell Programming and Scripting

Question on Autosys calender date.

Hi I am trying to schedule a job through Autosys through UNIX on a particular day of every month (for example 20th of every month). Can some one please help me whats the command or whats the process to run on that particular day of month. Thank you, (2 Replies)
Discussion started by: sravuri
2 Replies

4. UNIX for Dummies Questions & Answers

Autosys: How to change a machine name in Autosys JIL.

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

5. Shell Programming and Scripting

Setting the date.

I am modifying some script and need to have the script reflect the current date. I have the script below. In the section yy="2010",mm="07", dd="12" What would I need to change to have the script automatically input the current year month & date instead of manually updated the script daily? ... (2 Replies)
Discussion started by: libertyforall
2 Replies

6. Shell Programming and Scripting

awk merging files based on 2 complex conditions

1. if the 1st row IDs of input1 (ID1/ID2.....) is equal to any IDNames of input2 print all relevant values together as defined in the output. 2. A bit tricky part is IDno in the output. All we need to do is numbering same kind of letters as 1 (aa of ID1) and different letters as 2 (ab... (4 Replies)
Discussion started by: ruby_sgp
4 Replies

7. Solaris

setting date format in solaris

Hi, i just want to know how to format date command in solaris. like in linux if i use `date +%s`, it gives me seconds since 1970, but in solaris (sol86) , it is giving %s as result. Is there any different way in solaris Thanks Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies

8. UNIX for Dummies Questions & Answers

setting the system date

Okay so I'm not really a newbie, but this bugs the crap out of me (rant on). Every so often I need to change the system time. I run "man date" and always find the "date -s" command, but for who knows how long, the manual page has *never* listed the format of the input string required to set the... (1 Reply)
Discussion started by: qneill
1 Replies

9. UNIX for Advanced & Expert Users

Documentation and books on Autosys Job Control Tool from Autosys

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

10. UNIX for Dummies Questions & Answers

setting date and time

how do i set the system date and time? i know i have to be root to do it but i'm new to unix--really new--and some of this stuff seems really cryptic. thanks for any help.:confused: (2 Replies)
Discussion started by: singlefin
2 Replies
Login or Register to Ask a Question