Process - Remote Execute

Top  Previous  Next

This task type can execute commands on a remote server. If you want to execute commands locally you should use the Execute task. This task returns instantly without waiting for the process to finish.

 

clip0024

 

Credentials

You must specify a Credential, a remote server name, user name and pass word for a user on the remote server which the command will execute as. Click on the Manage credentials button to add a new Credential.

 

Command

Enter full path and name to the executable file. The rightmost button opens a file browser for selection. The only mandatory parameter in the Execute window.

 

Arguments

Arguments don't have to start with a space key, look at the Add task view for an example. Use "" around long arguments.

 

Working directory

This option may be used if you for example want to execute a PHP script which has no absolute links. Let say that the PHP script tries to write a file "test.txt". If you specify a working directory, you also specify where PHP will write the file. If not specified in this case, PHP will write the file where php.exe is stored, not where the script is stored (that is because the Working Directory by default will be where the command is located, in this case php.exe is the task and the script is the argument).

 

Run in hidden window

When checked, VisualCron will run the task in hidden mode which means that if a task normally creates a window, this will not be displayed. If you want to hide a GUI application (winform) you must also check Use shell execute.

 

Note about arguments/parameters:

Use "" around arguments.

 

Process priority

VisualCron tasks can be run with any standard process priority. The following priorities are available:

Idle - Indicates a process whose threads run only when the system is idle and is preempted by the threads of any process running in a higher priority class. An example is a screen saver. The idle priority class is inherited by child processes
Below Normal - Indicates a process that has priority higher than Idle but lower than Normal
Normal - Default value, indicates a normal process with no special scheduling needs
Above Normal - Indicates a process that has priority higher than Normal but lower than High
High - Indicates a process that performs time-critical tasks that must be executed immediately for it to run correctly. The threads of a high-priority class process preempt the threads of normal or idle priority class processes. An example is the Task List, which must respond quickly when called by the user, regardless of the load on the operating system. Use extreme care when using the high-priority class, because a high-priority class CPU-bound application can use nearly all available cycles.
RealTime - Indicates a process that has the highest possible priority. The threads of a real-time priority class process preempt the threads of all other processes, including operating system processes performing important tasks. For example, a real-time process that executes for more than a very brief interval can cause disk caches not to flush or cause the mouse to be unresponsive.