do not work if the code is used as groovy to be scheduled.
It works, if it is embedded with {{groovy}} … {{/groovy}} with a document.
What is missing ?
I did the typical test steps: deactivate - activate - trigger.
But - I could be that there are some right impacts:
The Testspace “Testoutput” has only (all rights) set to XWikiadmingroup. The job execution context user
is member of XWikiadmingroup.
I did an additional test with specific user rights for this space (all rights set), but there is no change.
Is it possible to get log / error messages of scheduled jobs? There is nothing in tomcat (catalina.out).