Fortinet black logo

Scheduled scans

Scheduled scans

User may schedule scanning for viruses in one of three ways:

  • Full scan
  • Scan the entire system.

  • Quick scan
  • Scan only none-system files.

  • Custom scan
  • Scan a selection of files, as specified by user.

You can enable only one scheduled scan at a time. For example, you can enable a full scan and disable quick scans and custom scans.

Each of three scheduling options require specific combinations of several common elements, which define when scanning should occur. The common elements are described first. Other elements specific to the full and custom scans are described later

The factory default at the time of installation is to run a full scan on the first day of the month at 19:30 hours.

<forticlient_configuration>

<antivirus>

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>0</repeat>

<time>19:30</time>

</quick>

</scheduled_scans>

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<full>

<enabled>0</enabled>

<repeat>0</repeat>

<time>19:30</time>

<removable_media>1</removable_media>

<network_drives>1</network_drives>

<priority>2</priority>

</full>

</scheduled_scans>

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<enabled>1</enabled>

<repeat>0</repeat>

<days>2</days>

<time>19:30</time>

<directory>c:\</directory>

<priority>0</priority>

</directory>

</scheduled_scans>

</antivirus>

</forticlient_configuration>

Following is an example of the elements for a quick, monthly scan:

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>2</repeat>

<day_of_month>1</day_of_month>

<time>19:30</time>

</quick>

</scheduled_scans>

Following is an example of the elements for a quick, weekly scan:

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>1</repeat>

<days>1</days>

<time>19:30</time>

</quick>

</scheduled_scans>

Following is an example of the elements for a quick, daily scan:

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>0</repeat>

<time>19:30</time>

</quick>

</scheduled_scans>

The following table provides the XML tags for scheduled scans, as well as the descriptions and default values where applicable.

XML tag

Description

Default value

common elements

<enabled>

Enable or disable scheduled scan. You can enable only one of the following scan types at a time:quick scan, full scan, or custom scan.

Boolean value: [0 | 1]

<repeat>

Frequency of scans. The selected frequency affects the elements required to correctly configure the scan. Examples are provided before the table. Select one of the following:

  • 0: daily
  • 1: weekly
  • 2: monthly

<days>

Day of the week to run scan. Used when <repeat> is set to 1 for weekly scans. Multiple days may be provided, separated by comma. Select one or more of the following:

  • 1: Sunday
  • 2: Monday
  • 3: Tuesday
  • 4: Wednesday
  • 5: Thursday
  • 6: Friday
  • 7: Saturday

<day_of_month>

The day of the month to run a scan. Used when <repeat> is set to 2 for weekly scans.

A number from 1 to 31.

<time>

Time value in 24 hour clock.

The following table provides element XML tags, the description, and the default value (where applicable).

XML Tag

Description

Default Value

<full> elements

<removable_media>

Enable or disable scanning files on removable media.

Boolean value: [0 | 1]

1

<network_drives>

Enable or disable scanning files on network drives.

Boolean value: [0 | 1]

0

<priority>

Scan priority. Select one of the following:

  • 0: normal
  • 1: low
  • 2: high

0

<directory> elements

<directory>

The full path to the directory to scan.

<priority>

Scan priority. Select one of the following:

  • 0: normal
  • 1: low
  • 2: high

Scheduled scans

User may schedule scanning for viruses in one of three ways:

  • Full scan
  • Scan the entire system.

  • Quick scan
  • Scan only none-system files.

  • Custom scan
  • Scan a selection of files, as specified by user.

You can enable only one scheduled scan at a time. For example, you can enable a full scan and disable quick scans and custom scans.

Each of three scheduling options require specific combinations of several common elements, which define when scanning should occur. The common elements are described first. Other elements specific to the full and custom scans are described later

The factory default at the time of installation is to run a full scan on the first day of the month at 19:30 hours.

<forticlient_configuration>

<antivirus>

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>0</repeat>

<time>19:30</time>

</quick>

</scheduled_scans>

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<full>

<enabled>0</enabled>

<repeat>0</repeat>

<time>19:30</time>

<removable_media>1</removable_media>

<network_drives>1</network_drives>

<priority>2</priority>

</full>

</scheduled_scans>

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<enabled>1</enabled>

<repeat>0</repeat>

<days>2</days>

<time>19:30</time>

<directory>c:\</directory>

<priority>0</priority>

</directory>

</scheduled_scans>

</antivirus>

</forticlient_configuration>

Following is an example of the elements for a quick, monthly scan:

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>2</repeat>

<day_of_month>1</day_of_month>

<time>19:30</time>

</quick>

</scheduled_scans>

Following is an example of the elements for a quick, weekly scan:

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>1</repeat>

<days>1</days>

<time>19:30</time>

</quick>

</scheduled_scans>

Following is an example of the elements for a quick, daily scan:

<scheduled_scans>

<ignore_3rd_party_av_conflicts>1</ignore_3rd_party_av_conflicts>

<quick>

<enabled>1</enabled>

<repeat>0</repeat>

<time>19:30</time>

</quick>

</scheduled_scans>

The following table provides the XML tags for scheduled scans, as well as the descriptions and default values where applicable.

XML tag

Description

Default value

common elements

<enabled>

Enable or disable scheduled scan. You can enable only one of the following scan types at a time:quick scan, full scan, or custom scan.

Boolean value: [0 | 1]

<repeat>

Frequency of scans. The selected frequency affects the elements required to correctly configure the scan. Examples are provided before the table. Select one of the following:

  • 0: daily
  • 1: weekly
  • 2: monthly

<days>

Day of the week to run scan. Used when <repeat> is set to 1 for weekly scans. Multiple days may be provided, separated by comma. Select one or more of the following:

  • 1: Sunday
  • 2: Monday
  • 3: Tuesday
  • 4: Wednesday
  • 5: Thursday
  • 6: Friday
  • 7: Saturday

<day_of_month>

The day of the month to run a scan. Used when <repeat> is set to 2 for weekly scans.

A number from 1 to 31.

<time>

Time value in 24 hour clock.

The following table provides element XML tags, the description, and the default value (where applicable).

XML Tag

Description

Default Value

<full> elements

<removable_media>

Enable or disable scanning files on removable media.

Boolean value: [0 | 1]

1

<network_drives>

Enable or disable scanning files on network drives.

Boolean value: [0 | 1]

0

<priority>

Scan priority. Select one of the following:

  • 0: normal
  • 1: low
  • 2: high

0

<directory> elements

<directory>

The full path to the directory to scan.

<priority>

Scan priority. Select one of the following:

  • 0: normal
  • 1: low
  • 2: high