Post-processing tasks are configured in the [PostProcessingTasks]
section of the Eduction Server configuration file. Use the NumTasks
parameter to specify the number of tasks and use the TaskN
parameter to specify names for the tasks. Start numbering the tasks from zero. For example:
[PostProcessingTasks] NumTasks=2 Task0=ValidateWithChecksum Task1=FilterScore
Then, create a section for each of the tasks using the names that you defined:
[ValidateWithChecksum] Type=lua Entities=number/creditcard Script=./scripts/checksum.lua ProcessEnMasse=FALSE
The Entities
parameter specifies the entities to process. You can use wildcards to match multiple entities. The Script
parameter specifies the path to the Lua script that you want to run. Eduction includes some example scripts, and you can write your own. For information about how to write a post-processing script, see Write a Lua Script for Post-Processing.
For more information about Eduction Server configuration parameters, refer to the Eduction Server Reference.
|