vserver vscan on-demand-task schedule
Schedule an On-Demand task
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver vscan on-demand-task schedule command schedules an On-Demand task.
Parameters
- -vserver <vserver name> - Vserver
- This parameter specifies the name of the Vserver on which you want to schedule an On-Demand task.
- -task-name <text> - Task Name
- This parameter specifies the name of the On-Demand task that you want to schedule.
- -schedule <text> - Schedule Name
- This parameter specifies the already existing cron schedule. The On-Demand task triggers virus scanning for the specified scan-paths at the time configured in the schedule.NoteA Vserver can have only one scheduled task at a time.
Examples
The following example schedules an On-Demand task:
cluster1::> vserver vscan on-demand-task schedule -vserver vs1 -task-name t1 -schedule daily
[Job 150]: Vscan On-Demand job is queued. Use the "job show -id 150" command to view the status.
cluster1::> vserver vscan on-demand-task show -instance -vserver vs1 -task-name t1
Vserver: vs1
Task Name: t1
List of Scan Paths: /test
Report Directory Path: /report
Job Schedule: daily
Max File Size Allowed for Scanning: 2GB
File Paths Not to Scan: /vol1/cold-files/
File Extensions Not to Scan: mp3, mp4
File Extensions to Scan: *
Scan Files with No Extension: true
Request Service Timeout: 1m
Cross Junction: true
Directory Recursion: true
Scan Priority: low
Report Log Level: verbose
Give documentation feedback