04-02-2008
A problem in autosys-- very urgent
Hi ,
I have 5 jobs in autosys which are dependant on one another oen by one.say job1,job2.. job5. job 1 is a filewatcher.job2 to job5 are command jobs.First the filewatcher starts as when a file which it is looking for arrives.based on this job rest of the sequence starts.after the job5 is completed(success or failure) the job1 has to trigger(means job1 should come to running state).
Now the requirement is
1) This process should happen oonly between 8am to 6pm from monday to friday.
2)All this process should happen continously between 8am to 6pm.
3) After 6pm i dont want to the job1 to be in running mode.
could you suggest me a JIL script for job1 .
script we are using so far is as below:
insert_job: <jobname> job_type: f
machine: <machine name>
owner: <owner>
permission:
date_conditions: 1
run_window: "01:55-02:10"
description: "desc"
watch_file: watchfile path
watch_file_min_size: 0
watch_interval: 10
alarm_if_fail: 1
profile: profile path
thanks in advance for the help.
thanks
mohan
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
In Tru64 UNIX,there is a command ulimit which sets or reports a resource limit.
-d option specifies number of Kilobytes for data area.
But when i give same man ulimit in HP-UX, it does shows some ulimit function.
I want to replace ulimit -d command in .profile file which... (1 Reply)
Discussion started by: informshilpa
1 Replies
2. UNIX for Dummies Questions & Answers
i accedently "deleted" all workspaces
I have a black screen and dont know what to do
solaris common desktop enviroment (1 Reply)
Discussion started by: ssshakir
1 Replies
3. Solaris
I have another Hdd problem with Ultra 1 machine
the hdd is segate (+-)17560 MB and when I start installtion of sun solaries 2.6 the system sees the hdd correctly, and the installtion goes fine with partioning the disk as follows
/ 150 MB
swap 500 MB
/user 1000 MB
/user1 100MB
/usr3 5500 MB... (4 Replies)
Discussion started by: adol3
4 Replies
4. AIX
when try to unzip a very big file facing an error of disk full.
can any body help me to unzip this file .
$ unzip abc.zip
Archive: abc.zip
inflating: abc.zrp
abc.zip write error (disk full?). Continue? (y/n/^C) $ n
Thanks & Regards (2 Replies)
Discussion started by: suman_jakkula
2 Replies
5. Shell Programming and Scripting
#!/usr/bin/sh
read file
#exec 3<&0
exec 0<$file
while read line
do
if
then
BOUND=$line
break
fi
count=`expr $count + 1`
done
#exec 0<&3
echo $BOUND
sh check.sh (4 Replies)
Discussion started by: skyineyes
4 Replies
6. 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
7. Shell Programming and Scripting
Hi All,
I have trying to schedule an autosys job and it is failing. The shutdown script runs fine by itself from the UNIX box but fails when i try to schedule it through autosys.
I have compared user.env with auto.env (variables obtained through an autosys script) and updated my profile... (1 Reply)
Discussion started by: userscript
1 Replies
8. UNIX for Advanced & Expert Users
I have an autosys job say "job12345" . it has a a time dependacy. it does not depend on any other job. Once i put the job on HOLD. then after some time i directly marked it to INACTIVE after its normal run time is past. i didnt not off HOLD it but made directly to INACTIVE.
I can see the next... (2 Replies)
Discussion started by: Kaniska
2 Replies
9. 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
10. Shell Programming and Scripting
I have been working on to neatly present the job dependency lineage in autosys through ksh/perl and I am having trouble in recursively finding the dependency.
it will be great if anyone could share their thoughts on this. (2 Replies)
Discussion started by: Vhunt
2 Replies
LEARN ABOUT HPUX
queuedefs
queuedefs(4) Kernel Interfaces Manual queuedefs(4)
NAME
queuedefs - queue description file for at, batch, and crontab
SYNOPSIS
DESCRIPTION
The file describes the characteristics of the queues managed by (see cron(1M)). Each non-comment line in this file describes one queue.
The format of the lines are as follows:
[njob[nice[nwait
The fields in this line are:
q The name of the queue, such that is the default queue for jobs started by (see at(1)), is the queue for jobs started by
(see at(1)), and is the queue for jobs run from a file (see crontab(1)). Queue names through designate user-defined
queues.
njob The maximum number of jobs that can be run simultaneously in that queue. Although any number can be specified here, (see
cron(1M)) by default limits the number of jobs that can be run on all the queues to 100. This limitation can be removed
by setting the variable to 1 in the file.
nice The value to give to all jobs in that queue that are not run with a user ID of super-user (see nice(1)). The default
value is 2.
nwait The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that
job's queue, or because more than 100 jobs were running in all the queues (see njob above).
EXAMPLES
Consider the following file:
The file is interpreted as follows:
The queue, for jobs (see at(1)), can have up to 4 jobs running simultaneously, and those jobs will be run with a value of
1.
Since no nwait value is given, if a job cannot be run because too many other jobs are running, will wait 60 seconds
before trying again to run it (see cron(1M)).
The queue, for jobs (see at(1)), can have up to 2 jobs running simultaneously. Those jobs will be run with a value of 2.
If a job cannot be run because too many other jobs are running, will wait 90 seconds before trying again to run it.
All other queues can have up to 100 jobs running simultaneously. They will be run with a value of 2, and if a job cannot be run because
too many other jobs are running, will wait 60 seconds before trying again to run it.
SEE ALSO
at(1), nice(1), crontab(1), cron(1M), proto(4).
STANDARDS CONFORMANCE
queuedefs(4)