I'm working on what will eventually be a scheduled task and may be a fairly long-running one. I'm testing it by calling xdmp.spawn() in Query Console, and have had to increase the default timeLimit parameter. As I understand it, xdmp.spawn() will use the default time limit set for the app server and you can specify a different timeLimit up to the app server's max time limit parameter.
But what is the time limit for a scheduled task? I'm not even clear what app server they run on. There doesn't seem to be any way to specify a different time limit, so will it be using the default or max time limit?