Thanks for all the replies for providing great ideas on the subject ,
Most of you have suggested ,
Make the jobs touch a file when complete and keep a check on this status
files and then run the last
Job after all files are present which will represent the completion of the
I am using the same method now . and I am using the loop flag test written
by Bertrand Hutin below .
Add a loop flag test at the beginning of the waiting job and set flag(s) in
the 2 or 3 specific jobs.
while [ !-f eoj1 and !-f eoj2 ) ; do
and at job1 en
Below is the simple method to do the same thing
Written by Pyne Jeffrey and Harish Arora using the wait command
Pyne, Jeffrey [Jeffrey.Pyne@schwab.com] wrote
you could write one script that gets run in cron that executes the first 2
or 3 jobs and then does a "wait" to wait for them to finish and then runs
the next job.
the original question was ,
Subject: How to run or schedule job which will run after completion
her specific cron jobs.
I have solaris 2.6 .
Does any one know how can I schedule a job (cron or at) which will run
after completion of some other specific 2or 3 jobs which I know at what
time they start but I don't how long they will take to finish.
And How one can monitor the status and details of cron jobs ?
I curious to know how you people if any are doing this?
Thanks in Advance,
Thanks following for the quick replies ,
Pyne, Jeffrey [Jeffrey.Pyne@schwab.com]
David Evans [firstname.lastname@example.org]
Leonard, Roger [email@example.com]
Carlo Musante [firstname.lastname@example.org]
Zareh Aratoon [email@example.com]
Harish Arora [firstname.lastname@example.org]
Bruce R. Zimmer [email@example.com]
Michael Miller [Michael.Miller@oyster.co.uk]
Reichert, Alan [firstname.lastname@example.org]
Salehi, Michael E [Mike.Salehi@usa.xerox.com]
Stuart Whitby [email@example.com]
Seth Rothenberg [SROTHENB@montefiore.org]
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT