Schedules

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > Inventory Agent > Parameters 

Schedules

This property can be used to execute scheduled tasks. In the file schedules follow the following pattern:

 

<command>:<options>:<schedule-pattern>

 

As schedule pattern either logon or logoff can be used or it follows the following pattern:

 

<Minute> <Hour> <DayOfMonth> <Month> <DayOfWeek>

 

It is possible to used multiple schedules in the configuration file.

 

finger1

Be aware:

The schedule trigger startup and logon are not available for non-windows and can only be used for windows devices.

 

In the following table the default schedule properties are listed. The first three columns show the parameters like they are listed in the PROPERTIES VIEW tab. The Property column shows how the actual property looks in the configuration file and the TEXT VIEW tab

 

Command

Arguments

Trigger

Property

command

echo Hello world! >
 /tmp/message.txt

0 0 * * *

schedule:command:echo

 Hello world! > /tmp/

message.text:0 0 * * *

horizon

 

logon

schedule:horizon::logon

horizon

 

logoff

schedule:horizon::logoff

getconfig

 

25 0 * * *

schedule:getconfig::25 0

 * * *

saas

 

26 0 * * *

schedule:saas::26 0 * * *

oracle

 

27 0 * * *

schedule:oracle::27 0 * *

 *

inventory

 

30 0 * * *

schedule:inventory::30 0

 * * *

inventory

-o IncludeDirectory

=/opt -o Exclude

Directory=/proc

30 0 * * *

schedule:inventory:

-o IncludeDirectory=/opt

 -o ExcludeDirectory=

/proc:30 0 * * *

upload

 

45 0 * * *

schedule:upload::45 0 * * *

command

curl.exe --output

 "C\:\Program

 Files (x86)\

RayVentory\

InventoryAgent\

whitelisted.xml"

 -f http\://

rayventory\:591/

rviaconfig/

whitelisted.xml

45 0 * * *

schedule:command:curl.exe

 --output "C\:\Program

 Files (x86)\RayVentory\

InventoryAgent\whitelisted

.xml" -f http\://rayventory

\:591/rviaconfig/whitelisted

.xml:45 0 * * *

command

curl.exe --output
 "C\:\ProgramData\
Raynet\RayVentory
InventoryAgent\
SaaSwhitelisted.xml"
 -f http\://
rayventory\:591/
rviaconfig/
SaaSwhitelisted.xml

45 0 * * *

schedule:command:curl.exe
 --output "C\:\ProgramData\
Raynet\RayVentoryInventoryAgent\
SaaSwhitelisted.xml" -f
 http\://rayventory\:591/
rviaconfig/SaaSwhitelisted.xml:
45 0 * * *