How to Set Scheduled Scans in V3 Net for Linux Server
This article guides you on how to set up scheduled scans using the V3 Net for Linux Server web console and CLI.
Scheduled scans allow you to automatically scan designated areas at specified times.
Setting Up Scheduled Scans via the Web Console
You can add, modify, or delete scheduled scans in the V3 Net for Linux Server web console under [Settings] > [Scheduled Scan].
Click [Add] to create a new scheduled scan or [Modify] to edit an existing one.
You can configure the following settings for scheduled scans:
- Scan Name: Assign a name to distinguish between multiple scheduled scans.
- Scan Schedule : Choose the frequency for the scheduled scan to run. Options include daily, weekly, monthly, or one-time.
- Scan Targets: Select the directories to be scanned during the scheduled scan.
- Limit the maximum scan time
- The scan will run for the specified amount of time and stop if the time limit is exceeded.
- If the option 'Automatically resume scans terminated by the time limit' is enabled, the next scheduled scan will continue from where the previous scan stopped.
Other options are the same as those in the file scan settings. If you have questions about any options, please refer to the FAQ below.
Setting Up Scheduled Scans via CLI
Enabling Scheduled Scans
Check whether scheduled scans are enabled in v3cli with the following command:
settings scheduledscan showThe scheduled scan feature is enabled by default. If it is disabled, activate it using the command below:
settings scheduledscan set use 1
Adding a Scheduled Scan
You can add a scheduled scan schedule using the settings scheduledscan add command.
settings scheduledscan add [option_name1] [value] [option_name2] [value]...You can set multiple options at once using spaces.
The available options are as follows. When adding a scan schedule, you must specify the scan name, scan cycle, scan time, and scan target.
| Option Name | Description | Value |
|---|---|---|
| name | Scheduled scan name | String (maximum length 40) |
| scheduledcycle | Scheduled scan cycle setting | 1 : Daily 2 : Weekly 3 : Monthly 4 : One-time |
| scheduledweek | Scheduled scan cycle setting - scan day of the week Set when scheduledcycle is "Weekly" |
0 : Sunday 1 : Monday 2 : Tuesday 3 : Wednesday 4 : Thursday 5 : Friday 6 : Saturday |
| scheduleddays | Scheduled scan cycle setting - scan day of the month Set when scheduledcycle is "Monthly" |
1 ~ 31 |
| scheduleddate | Scheduled scan cycle setting - scan date Set when scheduledcycle is "One-time" |
YYYY-MM-DD |
| scheduledtime | Scheduled scan time | HH:MM |
| scheduledpath | Scan target selection | String (maximum length 1024) |
| prescanuse | Use pre-scan | 0 : Disabled 1 : Enabled |
| target | Scan target | 1 : Scan all files 2 : Scan vulnerable files (executables, macro files, script files) |
| extentionuse | Use additional extensions for scanning | 0 : Disabled 1 : Enabled |
| extention | Additional extensions to scan (e.g., dat/txt/tmp) | String (maximum length 1024) |
| rejectdmz | Include scan exceptions and exception malware in the scan | 0 : Disabled 1 : Enabled |
| filesizeuse | Use file size limit for scanning | 0 : Disabled 1 : Enabled |
| filesize | File size limit for scanning (MB) | 1 ~ 2000 |
| compressuse | Scan compressed files | 0 : Disabled 1 : Enabled |
| nfsuse | Scan NFS | 0 : Disabled 1 : Enabled |
| cureoption | Malware-infected file treatment method | 1 : Leave as is 2 : Cure 3 : Delete |
| compressoption | Treatment method for infected compressed files | 1 : Leave as is 2 : Delete |
| autocure | Auto cure | 0 : Disabled 1 : Enabled |
| movequarantine | Move infected files to quarantine before cure or deletion | 0 : Disabled 1 : Enabled |
| cpuusage | CPU usage | 1 : High 2 : Medium 3 : Low 4 : Very low 5 : Lowest |
| scanperioduse | Use scan time limit | 0 : Disabled 1 : Enabled |
| scanperiod | Scan time limit (minutes) | 30 ~ 1439 |
| resumeuse | Resume scan if stopped due to scan time limit | 0 : Disabled 1 : Enabled |
Example Configuration
v3net> settings scheduledscan add name test scheduledcycle 2 scheduledweek 0 scheduledtime 02:00 scheduledpath /- Scheduled scan name: test
- Scan cycle: Weekly
- Scan day: Sunday
- Scan time: 2:00 AM (02:00)
- Scan path: /
Viewing Scheduled Scan Details
Use the settings scheduledscan show command to view the list of added scheduled scans.
To view detailed information about a scan, use the detail option.
settings scheduledscan show detail [scan name]
Deleting a Scheduled Scan
You can delete a scheduled scan using the settings scheduledscan del command.
settings scheduledscan del name [scan name]