Executing a trusted application via the Scheduler

Users can run trusted applications via the Scheduler. However, prior to that those applications must be registered in the Administrative Tool. Consult the PolyAnalyst administrator for more information.

To schedule the task for executing a trusted application, proceed as follows:

  • Right-click on the event or task in the Scheduler to which you want to assign the task;

  • Select Add task and click the Add trusted application execution option;

  • In the panel on the right enter the name of the application and command line parameters (if the Strict trusted applications option is disabled in the Server settings tab (see the Security section) of the Administrative Tool).

Let us consider the following example. Suppose, a user has to pack and send a folder from the PolyAnalyst server to an FTP-server on a daily basis. In this case a PolyAnalyst administrator does the following:

  1. Creates a script (a Windows batch file), which performs all the necessary actions (packs and sends the required folder), for example, "myjob.bat";

  2. Registers the trusted application in the Administrative Tool (see the Server settings tab, i.e. the Trusted applications section), setting the name of the application and cmd/myjob.bat command (such a form is used by Windows to start batch files).

Extra parameters of the applications can be set by the administrator in the Administrative Tool, or it can be done by regular users via the Scheduler or the command line (if the Strict trusted applications option is disabled). In the latter case, user settings will overwrite server settings.

Users can add a link to open access folders (such as $Examples$), to their own home folder (@username), but they can not use an absolute path like C:... for the sake of security.

If a task is to be performed via the command line, you need to enter the scheduled task ID in the command line. To obtain the task ID, right-click on the task and select Copy task ID.

sch copy task id

The task ID will be copied to clipboard.