Executing Tasks

<< Click to Display Table of Contents >>

Raynet One Data Hub > 2025.4 > Administration and User Guide > Tasks > Executing Tasks Using Offline Agents 

Executing Tasks

Next, execute the task with the offline agent. The recommended approach is to use the provided scripts:

 

1.Navigate to the agent installation folder (for Windows, the default path is C:\Program Files (x86)\RayVentory\DataHubAgent).

2.Create a Tasks folder if it does not already exist.

3.Copy the extracted task folder into the Tasks directory (for Windows, this will typically be C:\Program Files (x86)\RayVentory\DataHubAgent\Tasks\TaskName).

4.Navigate to the task folder and run the Run-on-Windows-Agent.bat script. Wait for the execution to complete. The results of the task will be stored in the Output folder, usually at C:\Program Files (x86)\RayVentory\DataHubAgent\Tasks\Output\TaskName_YYYYMMDD_HHMMSS.zip.

 

 

papercliper

Note:

Alternatively, advanced users may execute the task manually using the command line. The following syntax is supported:

.\Raynet.RayVentory.DataHub.Agent.exe --mode Offline --task "TASK_FOLDER_PATH" --output "OUTPUT_FOLDER_PATH"

For example:

.\Raynet.RayVentory.DataHub.Agent.exe --mode Offline --task "C:\Tasks\MyTask" --output "C:\Results"

To suppress the “Press any key” prompt, add the --no-wait parameter..