Within your second script you mayparse and analyse Deployment Log and proceed/ignore publishing depending on your own "failure" conditions.IWOV provides IWXML.pm module to help you with OD Log Parsing. Run perldoc on it and search Forum, there are fewthreads with IWXML usage samples