Create a Run Script task to run a script. You can schedule the task to run at regular intervals.
For information about writing scripts to use with Kiwi Syslog Server, see Scripting resources.
- From the Kiwi Syslog Service Manager, choose File > Setup.
In the left pane of the Setup dialog, right-click Schedules and select Add new schedule.
Replace the default name with a descriptive name.
- As the Task Type, select Run Program.
- As the Task Trigger, specify when you want the archive task to run:
- To schedule the task, select On a schedule. Then specify the start date, frequency, end date, and any exceptions on the Schedule tab.
- To run the task each time you start or stop the Kiwi Syslog Server application or service, select On app/service startup or On app/service shutdown.
On the Program Options tab, complete the following fields:
|Script file name || |
Enter the path and file name of an existing script file or of the file to be created.
|Script description ||Describe the purpose or function of the script. |
|Script language || |
Select the scripting language.
Windows Script provides script engines for the following languages, which have similar feature sets.
VBScript: a variation of Visual Basic or VBA (Visual Basic for Applications) used in MS Word and Excel.
JScript: a variation of Java Script used in web pages.
Consider JScript if you are familiar with Java Script. Also, JScript is usually faster than VBScript at performing string manipulations.
To use one of the following languages, you must install the Active Scripting engine for that language:
|Field Read/Write permissions || |
Select the groups of fields that Kiwi Syslog Server can access:
- When you grant read access to a group of fields, their values are copied into the script variables and are readable from within the script.
- When you grant write access to a group of fields, their values are copied from the script variables and replace the equivalent program fields.
Each time a script runs, the available message fields are copied to the script variables and back again upon completion of the script. The copying takes time and uses CPU cycles. To improve script performance, SolarWinds recommends granting read and write access only to the variables used in the script.
For more information about the fields in each group, see Script variables.
- To email or save the report generated each time the clean-up task runs, select one or more options on the Run Program Notification tab.
- To email the report to multiple recipients, separate the list of email addresses by commas or semicolons.
- If you save the report to a file, insert date and time variables in the file name to ensure that it is unique. If the file name is not unique, Kiwi Syslog Server overwrites the existing file when it creates a new file.
- Click Apply to save your changes.