Task Execution and Scheduling
Running a script
Select a script from the library.
Click Run script.

Update the script (optional for private scripts)
Configure task execution

Specify the computers or device groups on which the task is to be executed.

Define the time range during which the script can be executed. After the specified period ends, the script expires and will not be executed.

Select the script execution context.

Run the task immediately, or optionally enable a recurring schedule.

Confirm task execution.
Task permissions
Local System
Runs the script with the highest system privileges.
Current user
Executes the script as the user currently logged in on the device.
Other user
Runs the script using the credentials of the specified account.
The option Other user select when the script must access a protected network resource, for example, a share \\server\shareto which the Local System account does not have access.
Script time range
The time range defines when the script can be executed. Outside this period, the task will not be started.
This is especially important for scheduled tasks. If, at the time of execution, the computer is turned off, has no Internet connection, or eAgent cannot connect to the server, the task may remain pending execution.
After reconnection, the computer will execute the task only if it is still within the configured time range. If the script expiration date has passed, the task will not be started.
Example: the administrator scheduled the task for the time of the employee's absence. The computer was turned off at that time, and the user returned to work a few days later. By setting an end date, the script will not be started after it is no longer applicable.

Recurring schedule
Select the option Set as a recurring taskto run the script regularly.
Available intervals:
daily,
weekly,
monthly,
yearly.
For the schedule, you can specify a start date, end date, run indefinitely, or end after a specified number of runs.

A started task cannot be canceled. The schedule can be edited before the next scheduled operation is executed.
Logs
After the task is executed, go to the Logstab to check its result, the computer, the date and time of the operation, and the messages returned by the script.

After opening the full log, you can use the Ask AIfunction to analyze its content and more easily determine the cause of the error.

FAQ
Last updated
Was this helpful?