Prevent jobArrived from triggering when previous job removed
Posted: Thu Sep 15, 2016 6:58 pm
I have an instance where I want to do a pickup, where a job picks up another job that is in the same folder preceding the script. It works fine, but I get the following error for the file I've already sent to null:
I'm guessing that jobArrived is being called twice, even though ticket.xml has been sent to null. Is there another way to prevent Switch from executing jobArrived or to check if the job is still there before doing so?
Code: Select all
The input job does not exist: '/Users/dominickpeluso/Library/Application Support/Enfocus/Switch Server/backing/XML Pickup/automanaged/Folder 1/_001GU_ticket.xml'