Suggesting that context *user* is the one indicated in the scheduler configuration. The context *author* is the one who wrote the script, as expected.
Thomas Mortagne on 19/Feb/26 16:23
I just tested the following:
* use the standard jetty+hsqldb 17.10.2 with provided user "Admin" * create a scheduler page with * context user: "XWiki.Toto" * script: {code} services.logging.getLogger("scheduler.test").error("${xcontext.getUserReference()}") services.logging.getLogger("scheduler.test").error("${xcontext.getAuthorReference()}") {code} * scheduler the scheduler * trigger the scheduler
Suggesting that context **user** is the one indicated in the scheduler configuration. The context **author** is the one who wrote the script, as expected.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.