How to insert child job under a box job?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to insert child job under a box job?
# 1  
Old 03-12-2008
Question How to insert child job under a box job?

I have this box job and it contains only one job under it which is to load a file. I want to insert a "File Watcher", "Copy File" to it? Have no clue how to do that...any help plzzz...
# 2  
Old 03-12-2008
Quote:
Originally Posted by xejatt
I have this box job and it contains only one job under it which is to load a file. I want to insert a "File Watcher", "Copy File" to it? Have no clue how to do that...any help plzzz...
Friend,Requirement is not clear!Please specify your requirement clearly
# 3  
Old 03-12-2008
ok sorry...I have a box job in autosys
Job Name: ABCD_BD_BBO_ASIA and it has one child under it
Child Job: ABCD_CD_BBO_ASIA; this jobs picks up the data file from a location and loads it.
I want to do it :
Insert a 'File Watcher' under the box job so it can detect that that file has arrived in the destined directory and then load the file. something like
Box Job: ABCD_BD_BBO_ASIA
File Watcher: ABCD_BD_BBO_ASIA_FW
Copy Job: ABCD_BD_BBO_ASIA_CP
Load Job: ABCD_BD_BBO_ASIA_LD

but i dont know how to add the File Watcher job and the Copy Job part to the actual Box?? hope i made some sense...
# 4  
Old 03-12-2008
I found it myself, nobody responded.. seems like the site is good for nothing or maybe my question was too hard


box_name: ABCD_BD_BBO_ASIA
machine: "whatever the machine name is"
owner: "take it from the box job"
permission: "take it from the box job"
description: "Any description for other users who might view this later on"
term_run_time: "mention time example:10, or something"
box_terminator: 1
watch_file: "source file directory path"
watch_file_min_size: 1
watch_interval: 30
max_run_alarm: 30
alarm_if_fail: 1
profile: "directory path in which *.profile file resides"
timezone: GMT

i used this in a text file and then ran it to create this under the box.. it worked...
# 5  
Old 03-12-2008
Quote:
Originally Posted by xejatt
I found it myself, nobody responded.. seems like the site is good for nothing or maybe my question was too hard

<snip>
No, your question was just too vague.

Don't take it personally. You just need to realize that you understand a lot of little details about this problem that we have no way of guessing.

How To Ask Questions The Smart Way

ShawnMilo
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to find the job outside the box?

Hi gurus, below file is job list, the records without s( in the begining is job name in the box, the records with s() is the job depends on them (some of them in the box, some of them not in the box). I need to use script to find the job name not in the box. sname-pname-cprexa... (6 Replies)
Discussion started by: ken6503
6 Replies

2. UNIX for Advanced & Expert Users

Autosys Job: Job did not start

I have submitted an autosys job and force start it. Autosys hit the job 4 times to restart but it did not start and finally I terminate the job. Any idea why the job did not start. Below is the code I executed. 1214 missun0ap /export/home/bzn97r/develop/dswi/jil$ sendevent -E FORCE_STARTJOB... (0 Replies)
Discussion started by: jnrohit2k
0 Replies

3. Shell Programming and Scripting

autosys job configuration for job failure.

We need to configure autosys that when a job fails continously for 3 times, we need to call another job. Is this possible in Autosys, or can anyone advice on the alternative. (2 Replies)
Discussion started by: sangea
2 Replies

4. Shell Programming and Scripting

Script to Start a Job after finding the Old job completed

Hi Experts, I need a script advice to schedule 12 jobs ( SAS Codes execute back ground ). Algorithem: 1. Script checks first job. 2. Finds first job is done; invoke second job. 3. finds second job is done; invoke third job. .. Request you to please assist. (3 Replies)
Discussion started by: Jerald Nathan
3 Replies

5. Advertise with Us

Looking for job

Hi, i just got laid off :D, not fun, but i have a very wierd feeling. I want to continue my cloud computing exciting work and I am looking for takers. A brief of my skills is 10 years exp in dev client server apps on unix platform using java/c++. 3 years of ruby. last one year of amazon ec2 and... (1 Reply)
Discussion started by: linuxpenguin
1 Replies

6. Programming

Status of child job after parent is killed

Hi, I have a requirement. Scenario: A parent job invokes a child job and gets killed. The child becomes orphan and gets attached to init. Child job is removed from the pid table as soon as it gets completed. Requirement is i need the status of the child job even after the parent job is... (7 Replies)
Discussion started by: anjul_thegreat
7 Replies

7. Shell Programming and Scripting

Job dependent on other job

Hi All I am trying to run one command ie grep but I want it should execute only after the completion of a shell script has finished. eg Following is my script : java -mx64m $JAVA_OPTS -Dant.home=$ANT_HOME -classpath $_CLASSPATH org.apache.tools.ant.Main -verbose -buildfile /opt/bea/wls... (4 Replies)
Discussion started by: pankajkrmishra
4 Replies

8. Solaris

killing a unix job after the job process gets completed

Hi, Thanks in advance. i need to kill a unix background running job after that job process completes. i can kill a job by giving the following unix command kill -9 processid how to kill the job after the current process run gets completed ? Appreciate your valuable help. Thanks... (7 Replies)
Discussion started by: dtazv
7 Replies

9. Shell Programming and Scripting

killing unix job after the job process completes

Hi, Thanks in advance. i need to kill a unix background running job after that job process completes. i can kill a job by giving the following unix command kill -9 processid how to kill the job after the current process run gets completed ? Appreciate your valuable help. ... (1 Reply)
Discussion started by: dtazv
1 Replies

10. What is on Your Mind?

First Job

Just wondering what other people where doing for there first Unix role. Mine was working with a ISP helpdesk (Windows support though I helped all the Linux people out whenever I could with support) :p then that went bust (One.Net if anyone knew of it) then I scored my first UNIX role. Working... (8 Replies)
Discussion started by: woofie
8 Replies
Login or Register to Ask a Question