I've created a scheduled task in MLS 4.1. It does not run: not with "/" as the task root 2009-08-08 21:32:00.106 Notice: TaskServer: XDMP-TEXTNODE: /app/backend/upate.xqy -- Server unable to build program from non-text document 2009-08-08 21:32:00.106 Notice: TaskServer: in /app/backend/upate.xqy [1.0-ml]
nor with "http://server:8004/" 2009-08-10 12:00:00.050 Notice: TaskServer: XDMP-TEXTNODE: http://server:8004/app/backend/update.xqy -- Server unable to build program from non-text document 2009-08-10 12:00:00.050 Notice: TaskServer: in /app/backend/update.xqy [1.0-ml] manually, it works (of course). I have searched the marklogic mailing list for discussions with this kind of problem and only found one message from May 2008 which had encountered this type of exception (http://markmail.org/thread/nk26f2eizhqy3scy). In my case, it seems to be a problem with the "task root" property of the scheduled task which is explained in the help as follows: "task root specifies the root directory (files [sic] system) or URI root (database) that contains the module." I'm in the latter case where the xquery sits in the "doistats-database" database in the /app/backend/ directory. Or could the problem lie somewhere else (permissions? I'm running this as admin with all privileges)? here are the task details: task path: /app/backend/update.xqy task root: / task type: daily task period: 1 task start time 9:32 PM task database: doistats-database task modules: doistats-database task user: admin task host: server BTW, it seems a scheduled task cannot be modified, but only deleted? (I filed a case with support@). thanks, Jakob. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
