Fortinet white logo
Fortinet white logo

CLI Reference

execute preload url

execute preload url

Use this command to schedule a crawl, preload, refresh, or pin request for a given URL:

execute preload url <url> <depth> <at_time> <repeat_after> <repetitions> <user-agent> <password>

  • <url>: URL to preload.
  • <depth>: Depth of preload.
  • <at_time>: In the format of HHH:MM. HHH is hours from present (between 0-672), and MM is minutes from present (between 0-59). The default is set to 0:00.
  • <repeat_after>: HHH:MM. Set HHH between 0-168 and MM between 0-59. The default is set to 168:59 (the maximum value).
  • <repetitions>: End after this many repetitions (between 1-365). The default is set to 1.
  • <user-agent>: Specify the client type (free text) to identify as a user agent. The default is set to "Wget/1.17 (linux-gnu)".
  • <user>: Specify the user name.
  • <password>: Specify the password for the user (asked for in a separate prompt).

Examples

The following command would fetch http://www.fortinet.com and do the following:

  • preload cache immediately:

execute preload url http://www.fortinet.com/

  • crawl it to depth two immediately:

execute preload url http://www.fortinet.com/ 2

  • crawl it to depth two after ten minutes:

execute preload url http://www.fortinet.com/ 2 00:10

  • crawl it to depth two after ten minutes and after 24 hours 30 times (that is,fetch the URL in ten minutes and every day for 30 days):

execute preload url http://www.fortinet.com/ 2 00:10 24:00 30

  • crawl with the user agent “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0”:

execute preload url http://www.fortinet.com/ 0 00:00 00:01 1 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0"

execute preload url

execute preload url

Use this command to schedule a crawl, preload, refresh, or pin request for a given URL:

execute preload url <url> <depth> <at_time> <repeat_after> <repetitions> <user-agent> <password>

  • <url>: URL to preload.
  • <depth>: Depth of preload.
  • <at_time>: In the format of HHH:MM. HHH is hours from present (between 0-672), and MM is minutes from present (between 0-59). The default is set to 0:00.
  • <repeat_after>: HHH:MM. Set HHH between 0-168 and MM between 0-59. The default is set to 168:59 (the maximum value).
  • <repetitions>: End after this many repetitions (between 1-365). The default is set to 1.
  • <user-agent>: Specify the client type (free text) to identify as a user agent. The default is set to "Wget/1.17 (linux-gnu)".
  • <user>: Specify the user name.
  • <password>: Specify the password for the user (asked for in a separate prompt).

Examples

The following command would fetch http://www.fortinet.com and do the following:

  • preload cache immediately:

execute preload url http://www.fortinet.com/

  • crawl it to depth two immediately:

execute preload url http://www.fortinet.com/ 2

  • crawl it to depth two after ten minutes:

execute preload url http://www.fortinet.com/ 2 00:10

  • crawl it to depth two after ten minutes and after 24 hours 30 times (that is,fetch the URL in ten minutes and every day for 30 days):

execute preload url http://www.fortinet.com/ 2 00:10 24:00 30

  • crawl with the user agent “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0”:

execute preload url http://www.fortinet.com/ 0 00:00 00:01 1 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0"