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 [email@example.com]
Leonard, Roger [firstname.lastname@example.org]
Carlo Musante [email@example.com]
Zareh Aratoon [firstname.lastname@example.org]
Harish Arora [email@example.com]
Bruce R. Zimmer [firstname.lastname@example.org]
Michael Miller [Michael.Miller@oyster.co.uk]
Reichert, Alan [email@example.com]
Salehi, Michael E [Mike.Salehi@usa.xerox.com]
Stuart Whitby [firstname.lastname@example.org]
Seth Rothenberg [SROTHENB@montefiore.org]
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT