Do I have to define jobs for each trigger in the xml file, or can my xml file only have triggers?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, if the jobs the triggers relate to are already in the scheduler, then it will process as expected, without errors. If the jobs referred to by the triggers don’t exist in the scheduler you will get an exception when the file is processed.
For the jobs to already be in the scheduler the jobs must either already have triggers (in the scheduler) or must have their “durable” flag set to “true” – which lets them exist outside of the lifespan of their triggers.