From: Roy W. <gar...@ya...> - 2010-03-09 22:41:23
|
Very good Andrzej :) I'll check the log. R. Andrzej Jan Taramina wrote: > Roy: > > >> I scheduled an XQuery task and it was running fine. Over the last few >> days the email report generated by the task was not being received so I >> just checked get-scheduled-jobs() and my task no longer shows. >> >> Where did it go? >> > > It obviously ceased to eXist! LOL > > Check the scheduler.log file. I think you'll find that for some reason the task threw an exception and thus the > scheduler shut it down. > > I've been meaning to look into providing an option so that jobs don't get descheduled in the event of an exception, > since some exceptions are transient (eg. SQL DB connection failure, SMTP server connection failure, transient xquery > syntax errors, etc.). The alternative till I get to this to use the util:catch() function to trap any exceptions. > > |