removing items

I should say, that I was planning to add extra “if statement” right at the beginning of the script to go check for a certain backup job and if it has succeeded only then it execute the script. not really sure now who Am I going to do that.