Run an on-demand task immediately
Suggest changes
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- Security and data encryption
- Data protection and disaster recovery
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
You can run an on-demand task immediately, whether or not you have assigned a schedule.
Before you begin
You must have enabled scanning on the SVM.
Step
-
Run an on-demand task immediately:
vserver vscan on-demand-task run -vserver data_SVM -task-name task_name
The following command runs an on-access task named
Task1
on thevs1
SVM:cluster1::> vserver vscan on-demand-task run -vserver vs1 -task-name Task1 [Job 161]: Vscan On-Demand job is queued. Use the "job show -id 161" command to view the status.
You can use the job show
command to view the status of the job. You can use thejob pause
andjob resume
commands to pause and restart the job, or thejob stop
command to end the job.