Go to the table of contents Go to the previous page Go to the next page View or print as PDF
update.config
Help | Content Gateway | v8.5.x
The update.config file controls how Content Gateway performs a scheduled update of specific local cache content. The file contains a list of URLs specifying objects that you want to schedule for update.
A scheduled update performs a local HTTP GET on the objects at the specific time or interval. You can control the following parameters for each specified object:
*
*
*
*
 
Important 
Scheduled update supports the following tag/attribute pairs when performing recursive URL updates:
 
Scheduled update is designed to operate on URL sets consisting of hundreds of input URLs (expanded to thousands when recursive URLs are included); it is not intended to operate on massively large URL sets, such as those used by Internet crawlers.
Format
Each line in the update.config file uses the following format:
URL\request_headers\offset_hour\interval\recursion_depth\
The following table describes each field.
 
(Optional.) A list of headers (separated by semi-colons) passed in each GET request. You can define any request header that conforms to the HTTP specification. The default is no request header.
Examples
The following example illustrates an HTTP scheduled update:
http://www.company.com\User-Agent: noname user agent\13\3600\5\
This example specifies the URL and request headers, an offset hour of 13 (1 p.m.), an interval of one hour, and a recursion depth of 5. This would result in updates at 13:00, 14:00, 15:00, and so on. To schedule for an update to occur only once a day, use an interval value of 24 hours x 60 minutes x 60 seconds = 86400.
The following example illustrates an FTP scheduled update:
ftp://anonymous@ftp.company.com/pub/misc/test_file.cc\\18\120\0\
This example specifies the FTP request, an offset hour of 18 (6 p.m.), and an interval of every two minutes. The user must be anonymous and the password must be specified by proxy.config.http.ftp.anonymous_passwd in the records.config file.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2023 Forcepoint. All rights reserved.