This custom trigger action performs a virus scan against a directory using Avast anti-virus software.
How to scan a directory using Avast
Let me now show you how to implement that.
1. Make sure you have already Avast installed in the server
Before creating a custom trigger action, you need to have Avast anti-virus software installed in the server where JSCAPE MFT Server is running.
2. Create a Trigger for Avast Directory Scan
Login into admin console of JSCAPE MFT Server > Triggers and Click Add to create a Trigger
Give the trigger a Name and then select the Current Time event type from the drop-down list.
Click Next to Step 2 where a condition can be set to execute the trigger.
Below screen shows a condition that the trigger should execute at 22 Hours 30 minute . Set the condition as Hour =22 AND Minute 30 ( Directory Scan will be performed every day at 22 hours 30 minutes )
Once the condition is set Click Next to proceed
The step 3 asks to add an action, Add the action "Avast Virus Scan" from drop down list. If the action not found read the build instructions (Source code and build instructions) .
Click OK to proceed
The Parameters for the action "Avast Virus Scan" are ;
- Output Log
As the name indicates, Location is the path where "scan" process is located. Arguments represent the parameters needed for "scan" command line to work. Multiple arguments can be passed using comma separator. In order the scan a directory use the parameter as below;
Output log is the file where all scan information will be written.
Click OK to save the settings
That's it. Now you know how to create a trigger for Directory Scan Using Avast