Is the version 9i? Then you may use the WAIT N clause.
If V < 9i, then tell me do you run it as a job or do you start the scrip manually.