Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
73:admin_jobs [2019/03/25 19:45] emr73:admin_jobs [2023/06/12 12:42] emr
Line 3: Line 3:
 Some administrative jobs should be executed on a regular basis. For that purpose, administrative jobs like role assignments or data exports can be run automatically. Some administrative jobs should be executed on a regular basis. For that purpose, administrative jobs like role assignments or data exports can be run automatically.
  
-Administrators can upload scripts via the ''Administration > Jobs'' and select the execution frequence via a cron expression.+Administrators can upload scripts via the ''Administration > Jobs'' and select the execution frequence via a cron expression. The scripts are executed on the Stages server under the id of the user that uploaded the script.
  
 The existing Facade API can be used to navigate through the process content. For example, to assign a user named **''userName'' **to a role named ''**roleName**'' in a workspace ''**workspacePath**'', use the following code: The existing Facade API can be used to navigate through the process content. For example, to assign a user named **''userName'' **to a role named ''**roleName**'' in a workspace ''**workspacePath**'', use the following code:
Line 18: Line 18:
     }     }
 } }
 +
 </code> </code>
  
Line 26: Line 27:
  
 Please note, that these scripts are just samples and __need to be adjusted__  to your local environment to be run. Please note, that these scripts are just samples and __need to be adjusted__  to your local environment to be run.
- 
-Future Stages versions will allow to also perform other administrative tasks.